diff --git a/setup/tools/clisetup/setup.func.php b/setup/tools/clisetup/setup.func.php index 8a9a5494..50d3a3ef 100644 --- a/setup/tools/clisetup/setup.func.php +++ b/setup/tools/clisetup/setup.func.php @@ -130,7 +130,11 @@ function setup() : void // init proper access for further setup if (DB::test($AoWoWconf[$what], $err)) + { DB::load($idx, $AoWoWconf[$what]); + if ($idx == DB_AOWOW) + Cfg::load(); // first time load after successful db setup + } else $error[] = ' * '.$what.': '.$err; }