git-svn-id: http://xe-core.googlecode.com/svn/trunk@933 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-03 10:39:34 +00:00
parent 0665b7848c
commit 9ec9da8963
15 changed files with 134 additions and 11 deletions

View file

@ -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);