short_open_tag off 환경에서 addon모듈에서 발생하는 오류 수정

버그리포트 : http://www.zeroboard.com/zbxe_bugreport/16009176

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2990 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2007-11-18 17:37:30 +00:00
parent dc49c7ebd1
commit ac02ab4199

View file

@ -66,7 +66,7 @@
$buff .= sprintf(' if(file_exists("./addons/%s/%s.addon.php")) { unset($addon_info); $addon_info = unserialize(base64_decode("%s")); $addon_path = "./addons/%s/"; @include("./addons/%s/%s.addon.php"); }', $addon, $addon, $extra_vars, $addon, $addon, $addon);
}
$buff = sprintf('<?if(!defined("__ZBXE__"))exit(); %s ?>', $buff);
$buff = sprintf('<?php if(!defined("__ZBXE__"))exit(); %s ?>', $buff);
FileHandler::writeFile($this->cache_file, $buff);
}