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

This commit is contained in:
zero 2010-09-28 05:53:35 +00:00
parent 0056207654
commit 50c423f718

View file

@ -83,11 +83,7 @@
$this->init($tpl_path, $tpl_filename, $tpl_file);
// if target file does not exist exit
if(!$this->file || !file_exists($this->file)) {
Context::close();
printf('"%s" template file is not exists.', $this->file);
exit();
}
if(!$this->file || !file_exists($this->file)) return sprintf('Err : "%s" template file is not exists.', $this->file);
$source_template_mtime = filemtime($this->file);
$latest_mtime = $source_template_mtime>$this->handler_mtime?$source_template_mtime:$this->handler_mtime;