Bug fix for checks, bug fix in config other, test host

Add test host soba-dev.tequila.jp, others will be added

config.other had errors with double define a constant

Supress phan/phpstan errors for ...array calls in methods
This commit is contained in:
Clemens Schwaighofer
2021-12-01 10:58:23 +09:00
parent 6001934d9c
commit 4bac10bb42
4 changed files with 12 additions and 2 deletions

View File

@@ -23,6 +23,14 @@ declare(strict_types=1);
// 'login_enabled' => true
// ];
$__LOCAL_CONFIG = [
'db_host' => 'test',
'location' => 'test',
'debug_flag' => true,
'site_lang' => 'en_utf8',
'login_enabled' => true
];
// each host has a different db_host
$SITE_CONFIG = [
// development host
@@ -42,6 +50,7 @@ $SITE_CONFIG = [
'login_enabled' => true
],
// 'other.host.com' => $__LOCAL_CONFIG
'soba-dev.tequila.jp' => $__LOCAL_CONFIG
];
// __END__