mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
#64 서버 내 경로를 절대경로로 변경
This commit is contained in:
parent
bf0dd35f0a
commit
932862be1f
42 changed files with 807 additions and 133 deletions
|
|
@ -142,7 +142,7 @@ class installAdminController extends install
|
|||
$homeMenuCacheFile = $oMenuAdminController->getHomeMenuCacheFile();
|
||||
if(file_exists($homeMenuCacheFile))
|
||||
{
|
||||
@include($homeMenuCacheFile);
|
||||
include($homeMenuCacheFile);
|
||||
}
|
||||
|
||||
if(!$homeMenuSrl || $homeMenuSrl != $output->menu_srl)
|
||||
|
|
|
|||
|
|
@ -176,13 +176,14 @@ class installController extends install
|
|||
if(!$this->makeConfigFile()) return new Object(-1, 'msg_install_failed');
|
||||
|
||||
// load script
|
||||
$scripts = FileHandler::readDir('./modules/install/script','/(\.php)$/');
|
||||
$scripts = FileHandler::readDir(_XE_PATH_ . 'modules/install/script', '/(\.php)$/');
|
||||
if(count($scripts)>0)
|
||||
{
|
||||
sort($scripts);
|
||||
foreach($scripts as $script)
|
||||
{
|
||||
$output = include(FileHandler::getRealPath('./modules/install/script/'.$script));
|
||||
$script_path = FileHandler::getRealPath('./modules/install/script/');
|
||||
$output = include($script_path . $script));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ $obj->module_srl = $module_srl;
|
|||
Context::set('version', __XE_VERSION__);
|
||||
$obj->title = 'Welcome XE';
|
||||
|
||||
$obj->content = $oTemplateHandler->compile('./modules/install/script/welcome_content', 'welcome_content_'.$lang);
|
||||
$obj->content = $oTemplateHandler->compile(_XE_PATH_ . 'modules/install/script/welcome_content', 'welcome_content_'.$lang);
|
||||
|
||||
$output = $oDocumentController->insertDocument($obj);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue