mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@933 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0665b7848c
commit
9ec9da8963
15 changed files with 134 additions and 11 deletions
|
|
@ -93,7 +93,7 @@
|
|||
$buff = preg_replace_callback('!<\!--%import\(\"([^\"]*?)\"\)-->!is', array($this, '_compileImportCode'), $buff);
|
||||
|
||||
// 파일에 쓰기 전에 직접 호출되는 것을 방지
|
||||
$buff = sprintf('%s%s%s','<?php if(!__ZBXE__) exit();?>',"\n",$buff);
|
||||
$buff = sprintf('%s%s%s','<?php if(!defined("__ZBXE__")) exit();?>',"\n",$buff);
|
||||
|
||||
// 컴파일된 코드를 파일에 저장
|
||||
FileHandler::writeFile($compiled_tpl_file, $buff);
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
// 캐쉬 내용 작성
|
||||
$buff =
|
||||
sprintf(
|
||||
'<?php if(!__ZBXE__) exit();'."\n".
|
||||
'<?php if(!defined("__ZBXE__")) exit();'."\n".
|
||||
'$pass_quotes = array();'."\n".
|
||||
'$id = \'%s\';'."\n".
|
||||
'$action = \'%s\';'."\n".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue