From 69fe0b5c7d5f71a957a7564d47cadb3fdf55da4e Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Tue, 4 Jun 2024 23:15:18 +0200 Subject: [PATCH] Cfg/Fixup * also trigger first time load as soon as db is set up --- setup/tools/clisetup/setup.func.php | 4 ++++ 1 file changed, 4 insertions(+) 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; }