mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
issue 566, fix problem about install using install config
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9692 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
59b7ce4d96
commit
ff22c78305
2 changed files with 34 additions and 4 deletions
|
|
@ -34,8 +34,10 @@
|
|||
if(is_array($install_config)){
|
||||
foreach($install_config as $k => $v) Context::set($k,$v,true);
|
||||
unset($GLOBALS['__DB__']);
|
||||
Context::set('install_config', true, true);
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController->procInstall();
|
||||
$output = $oInstallController->procInstall();
|
||||
if (!$output->toBool()) return $output;
|
||||
header("location: ./");
|
||||
Context::close();
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue