- bugfix: failed to upgrade db v1.4 due to unnecessary db request (GH-85)

This commit is contained in:
maxpozdeev 2024-01-07 14:23:31 +03:00
parent 33bb209b97
commit 634cdcceee

View file

@ -88,6 +88,7 @@ if ($configExists)
}
else if ($ver == '1.4') {
// Need to upgrade. Do not ask for old password
Config::$noDatabase = true; //don't load settings from db
require_once(MTTPATH. 'db/config.php');
Config::loadConfigV14($config);
unset($config);