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

This commit is contained in:
zero 2007-04-23 03:18:27 +00:00
parent 99dfa91c4b
commit f3ac4dbc28

View file

@ -109,6 +109,9 @@
// 파일에 쓰기 전에 직접 호출되는 것을 방지
$buff = sprintf('%s%s%s','<?php if(!defined("__ZBXE__")) exit();?>',"\n",$buff);
// strip white spaces..
$buff = preg_replace('/\s+/', ' ', $buff);
// 컴파일된 코드를 파일에 저장
FileHandler::writeFile($compiled_tpl_file, $buff);