Clean up config juggling routines

This commit is contained in:
Kijin Sung 2016-02-08 15:39:28 +09:00
parent bf5942bce5
commit 95bafb094b
4 changed files with 337 additions and 275 deletions

View file

@ -236,8 +236,6 @@ class installController extends install
// Save the new configuration.
Rhymix\Framework\Config::save();
$buff = '<?php' . "\n" . '$db_info = ' . Rhymix\Framework\Config::serialize(Context::getDBInfo()) . ';' . "\n";
FileHandler::writeFile(Context::getConfigFile(), $buff);
// Unset temporary session variables.
unset($_SESSION['use_rewrite']);