mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@415 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ed284c98f2
commit
c3de1572b3
3 changed files with 19 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue