mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Only re-create old config file at install time
This commit is contained in:
parent
ede85adf24
commit
1eced59239
2 changed files with 6 additions and 5 deletions
|
|
@ -220,6 +220,8 @@ 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']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue