mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Merge branch 'feature/abspath' into develop
This commit is contained in:
commit
bb22239ec4
41 changed files with 157 additions and 133 deletions
|
|
@ -175,13 +175,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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue