mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
|
|
@ -33,6 +33,7 @@
|
|||
// DB와 관련된 변수를 받음
|
||||
$db_info = Context::gets('db_type','db_port','db_hostname','db_userid','db_password','db_database','db_table_prefix','time_zone','use_rewrite');
|
||||
if($db_info->use_rewrite!='Y') $db_info->use_rewrite = 'N';
|
||||
if(!$db_info->default_url) $db_info->default_url = Context::getRequestUri();
|
||||
$db_info->lang_type = Context::getLangType();
|
||||
|
||||
// DB의 타입과 정보를 등록
|
||||
|
|
@ -213,14 +214,13 @@
|
|||
$modules[$xml_info->category][] = $module;
|
||||
}
|
||||
|
||||
// 모듈을 category에 의거 설치 순서를 정함
|
||||
$install_step = array('base','utility','manager','accessory','service','package');
|
||||
|
||||
// module 모듈은 미리 설치
|
||||
$this->installModule('module','./modules/module');
|
||||
$oModule = &getClass('module');
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
|
||||
// 모듈을 category에 의거 설치 순서를 정함
|
||||
$install_step = array('system','content','member');
|
||||
// 나머지 모든 모듈 설치
|
||||
foreach($install_step as $category) {
|
||||
if(count($modules[$category])) {
|
||||
|
|
@ -231,6 +231,22 @@
|
|||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
}
|
||||
unset($modules[$category]);
|
||||
}
|
||||
}
|
||||
|
||||
// 나머지 모든 모듈 설치
|
||||
if(count($modules)) {
|
||||
foreach($modules as $category => $module_list) {
|
||||
if(count($module_list)) {
|
||||
foreach($module_list as $module) {
|
||||
if($module == 'module') continue;
|
||||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
|
||||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue