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

This commit is contained in:
zero 2007-06-07 01:12:55 +00:00
parent c0cd692bfc
commit a244b81a6d

View file

@ -221,6 +221,7 @@
$include_buff = FileHandler::readFile($source_filename);
// include 시도
/*
$output = sprintf(
'<?php%s'.
'if(filectime("%s")<%d) { %s ?>'.
@ -242,6 +243,21 @@
"\n"
);
*/
$output = sprintf(
'<?php%s'.
'$oTemplate = &TemplateHandler::getInstance();%s'.
'print $oTemplate->compile(\'%s\',\'%s\');%s'.
'?>%s',
"\n",
"\n",
$path, $filename, "\n",
"\n"
);
return $output;
}