mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
zbXE 기본 방명록 스킨 수정 (xe_guestbook)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3862 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8b930f06e5
commit
4264d5bcde
10 changed files with 223 additions and 215 deletions
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
$source_ftime = filemtime($tpl_file);
|
||||
$target_ftime = filemtime($compiled_tpl_file);
|
||||
if($source_ftime>$target_ftime) return $this->_compileTplFile($tpl_file, $compiled_tpl_file);
|
||||
if($source_ftime>$target_ftime || $target_ftime < filemtime('./classes/template/TemplateHandler.class.php') ) return $this->_compileTplFile($tpl_file, $compiled_tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -157,6 +157,7 @@
|
|||
* @brief {@와 } 안의 @... 함수를 print func(..)로 변경
|
||||
**/
|
||||
function _compileVarToSilenceExecute($matches) {
|
||||
if(strtolower(trim(str_replace(array(';',' '),'', $matches[1])))=='return') return '<?php return; ?>';
|
||||
return '<?php @'.preg_replace('/\$([a-zA-Z0-9\_\-\>]+)/i','$__Context->\\1', trim($matches[1])).';?>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue