Minor updates for set checks, example update for host config

Host config example for a pre-set config array to attach.

Update fixes for admin_set_paths, ACL\Login unset variable/index check
This commit is contained in:
Clemens Schwaighofer
2019-09-26 12:36:54 +09:00
parent ea3a8edae6
commit f6424bdd35
6 changed files with 21 additions and 11 deletions

View File

@@ -152,7 +152,7 @@ class Login extends \CoreLibs\DB\IO
if (defined('LOGIN_DB_SCHEMA')) {
/** @phan-suppress-next-line PhanUndeclaredConstant */
$SCHEMA = LOGIN_DB_SCHEMA;
} elseif ($db_config['db_schema']) {
} elseif (isset($db_config['db_schema']) && $db_config['db_schema']) {
$SCHEMA = $db_config['db_schema'];
} elseif (defined('PUBLIC_SCHEMA')) {
$SCHEMA = PUBLIC_SCHEMA;

View File

@@ -94,7 +94,6 @@
namespace CoreLibs;
/** Basic core class declaration */
class Basic
{