모듈(./modules하단)명에 숫자를 사용할수 있도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3557 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-21 11:50:51 +00:00
parent bfbf140d7c
commit 8912ff42e3

View file

@ -28,10 +28,9 @@
$oModuleModel = &getModel('module');
$installed_module_list = $oModuleModel->getModulesXmlInfo();
Context::set('installed_module_list', $installed_module_list);
// 현재 실행중인 모듈을 구해 놓음
$running_module = strtolower(preg_replace('/([a-z]+)([A-Z]+)([a-z]+)(.*)/', '\\2\\3', $this->act));
$running_module = strtolower(preg_replace('/([a-z]+)([A-Z]+)([a-z0-9]+)(.*)/', '\\2\\3', $this->act));
Context::set('running_module', $running_module);
$db_info = Context::getDBInfo();