Cfg/Fixup
* also trigger first time load as soon as db is set up
This commit is contained in:
parent
e734b41632
commit
69fe0b5c7d
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue