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

This commit is contained in:
zero 2007-03-15 04:34:15 +00:00
parent fa8c6a6df4
commit 825ea283b6
3 changed files with 9 additions and 3 deletions

View file

@ -121,6 +121,9 @@
**/ **/
function installDownloadedModule() { function installDownloadedModule() {
// 수동으로 설치를 할 목록
$manual_modules = array('install','module','pagemaker');
// install, module 모듈은 미리 설치 // install, module 모듈은 미리 설치
$this->installModule('install', './modules/install/'); $this->installModule('install', './modules/install/');
$this->installModule('module', './modules/module/'); $this->installModule('module', './modules/module/');
@ -135,10 +138,13 @@
$module = $tmp_arr[count($tmp_arr)-1]; $module = $tmp_arr[count($tmp_arr)-1];
// 미리 수동으로 설치한 모듈이면 패스~ // 미리 수동으로 설치한 모듈이면 패스~
if(in_array($module, array('install','module'))) continue; if(in_array($module, $manual_modules)) continue;
$this->installModule($module, $module_path); $this->installModule($module, $module_path);
} }
// pagemaker는 모두 설치된 후에 설치
$this->installModule('pagemaker','./modules/pagemaker');
return new Object(); return new Object();
} }

View file

@ -6,7 +6,7 @@
<column name="module_srl" default="module_srl" notnull="notnull" /> <column name="module_srl" default="module_srl" notnull="notnull" />
<column name="module_category_srl" default="module_category_srl" /> <column name="module_category_srl" default="module_category_srl" />
<column name="mid" var="mid" notnull="notnull" minlength="1" maxlength="40" /> <column name="mid" var="mid" notnull="notnull" minlength="1" maxlength="40" />
<column name="skin" var="skin" notnull="notnull" minlength="1" maxlength="250" /> <column name="skin" var="skin" minlength="1" maxlength="250" />
<column name="browser_title" var="browser_title" notnull="notnull" minlength="1" maxlength="250" /> <column name="browser_title" var="browser_title" notnull="notnull" minlength="1" maxlength="250" />
<column name="description" var="description" /> <column name="description" var="description" />
<column name="module" var="module" notnull="notnull" maxlength="80"/> <column name="module" var="module" notnull="notnull" maxlength="80"/>

View file

@ -4,7 +4,7 @@
<column name="module_category_srl" type="number" size="11" notnull="notnull" default="0" index="idx_module_category" /> <column name="module_category_srl" type="number" size="11" notnull="notnull" default="0" index="idx_module_category" />
<column name="layout_srl" type="number" size="11" notnull="notnull" default="0" /> <column name="layout_srl" type="number" size="11" notnull="notnull" default="0" />
<column name="mid" type="varchar" size="40" notnull="notnull" unique="unique_mid"/> <column name="mid" type="varchar" size="40" notnull="notnull" unique="unique_mid"/>
<column name="skin" type="varchar" size="250" notnull="notnull" /> <column name="skin" type="varchar" size="250" />
<column name="browser_title" type="varchar" size="250" notnull="notnull"/> <column name="browser_title" type="varchar" size="250" notnull="notnull"/>
<column name="description" type="text" size="250" /> <column name="description" type="text" size="250" />
<column name="is_default" type="char" size="1" notnull="notnull" default="N" /> <column name="is_default" type="char" size="1" notnull="notnull" default="N" />