mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix install failure when using automated install config
This commit is contained in:
parent
6bb9e7008d
commit
7b92605772
1 changed files with 8 additions and 5 deletions
|
|
@ -97,12 +97,15 @@ class installController extends install
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save rewrite and time zone settings
|
// Save rewrite and time zone settings
|
||||||
|
if(!Context::get('install_config'))
|
||||||
|
{
|
||||||
$config_info = Context::gets('use_rewrite','time_zone');
|
$config_info = Context::gets('use_rewrite','time_zone');
|
||||||
if($config_info->use_rewrite!='Y') $config_info->use_rewrite = 'N';
|
if($config_info->use_rewrite!='Y') $config_info->use_rewrite = 'N';
|
||||||
if(!$this->makeEtcConfigFile($config_info))
|
if(!$this->makeEtcConfigFile($config_info))
|
||||||
{
|
{
|
||||||
return new Object(-1, 'msg_install_failed');
|
return new Object(-1, 'msg_install_failed');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Assign a temporary administrator when installing
|
// Assign a temporary administrator when installing
|
||||||
$logged_info = new stdClass();
|
$logged_info = new stdClass();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue