mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
wpi install setting
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10473 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
14194f2481
commit
77c77bee34
1 changed files with 5 additions and 1 deletions
|
|
@ -34,7 +34,11 @@
|
||||||
if(file_exists($install_config_file)){
|
if(file_exists($install_config_file)){
|
||||||
include $install_config_file;
|
include $install_config_file;
|
||||||
if(is_array($install_config)){
|
if(is_array($install_config)){
|
||||||
foreach($install_config as $k => $v) Context::set($k,$v,true);
|
foreach($install_config as $k => $v)
|
||||||
|
{
|
||||||
|
$v = ($k == 'db_table_prefix') ? $v.'_' : $v;
|
||||||
|
Context::set($k,$v,true);
|
||||||
|
}
|
||||||
unset($GLOBALS['__DB__']);
|
unset($GLOBALS['__DB__']);
|
||||||
Context::set('install_config', true, true);
|
Context::set('install_config', true, true);
|
||||||
$oInstallController = &getController('install');
|
$oInstallController = &getController('install');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue