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

This commit is contained in:
zero 2007-03-14 07:20:43 +00:00
parent ed284c98f2
commit c3de1572b3
3 changed files with 19 additions and 10 deletions

View file

@ -57,7 +57,7 @@
* @brief 모듈의 conf/info.xml 읽어서 정보를 구함
* 이것 역시 캐싱을 통해서 xml parsing 시간을 줄인다..
**/
function getPluginInfo($plugin, $plugin_srl = 0, $plugin_title = "", $vars = null) {
function getPluginInfo($plugin) {
// 요청된 모듈의 경로를 구한다. 없으면 return
$plugin_path = $this->getPluginPath($plugin);
if(!$plugin_path) return;
@ -119,5 +119,12 @@
}
}
$buff = '<?php if(!__ZB5__) exit(); '.$buff.' ?>';
FileHandler::writeFile($cache_file, $buff);
if(file_exists($cache_file)) include $cache_file;
return $plugin_info;
}
}
?>