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:
haneul 2010-05-06 05:42:15 +00:00
parent fd91cb9e30
commit 55e72e3b47
13 changed files with 59 additions and 40 deletions

View file

@ -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;