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

This commit is contained in:
zero 2007-04-16 03:46:06 +00:00
parent f9b03ddcbc
commit 1cd21bc261
3 changed files with 116 additions and 45 deletions

View file

@ -92,6 +92,9 @@
// import xml filter/ css/ js/ 언어파일 <!--%filename-->
$buff = preg_replace_callback('!<\!--%import\(\"([^\"]*?)\"\)-->!is', array($this, '_compileImportCode'), $buff);
// html 주석 제거
$buff = preg_replace("!<\!--([^\-]+)-->(\\n)!is", '', $buff);
// 파일에 쓰기 전에 직접 호출되는 것을 방지
$buff = sprintf('%s%s%s','<?php if(!defined("__ZBXE__")) exit();?>',"\n",$buff);