mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 13:19:56 +09:00
tag 1.4.1.1
git-svn-id: http://xe-core.googlecode.com/svn/trunk@7424 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fd91cb9e30
commit
55e72e3b47
13 changed files with 59 additions and 40 deletions
|
|
@ -555,9 +555,9 @@
|
|||
/**
|
||||
* @brief component 목록을 return (DB정보 보함)
|
||||
**/
|
||||
function getComponentList($filter_enabled = true, $site_srl=0) {
|
||||
function getComponentList($filter_enabled = true, $site_srl=0, $from_db=false) {
|
||||
$cache_file = $this->getCacheFile(false, $site_srl);
|
||||
if(!file_exists($cache_file)) {
|
||||
if($from_db || !file_exists($cache_file)) {
|
||||
$oEditorController = &getController('editor');
|
||||
$oEditorController->makeCache(false, $site_srl);
|
||||
}
|
||||
|
|
@ -581,6 +581,7 @@
|
|||
FileHandler::removeFile($cache_file);
|
||||
return $this->getComponentList($filter_enabled, $site_srl);
|
||||
}
|
||||
if(!$filter_enabled) continue;
|
||||
if($val->enabled == "N") {
|
||||
unset($component_list->{$key});
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue