diff options
author | Mario <mario@mariovavti.com> | 2023-12-17 16:36:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-12-17 16:36:13 +0000 |
commit | 9551dc5ecdb2d965ab44b32ebfcf62fe84a73c69 (patch) | |
tree | a368b2144a0c91dcf1753bcaa7fa84e882c2272a /Zotlabs | |
parent | 414b2b0e4c63b1fcd6c4d9cdb91d766d4dc88bad (diff) | |
download | volse-hubzilla-9551dc5ecdb2d965ab44b32ebfcf62fe84a73c69.tar.gz volse-hubzilla-9551dc5ecdb2d965ab44b32ebfcf62fe84a73c69.tar.bz2 volse-hubzilla-9551dc5ecdb2d965ab44b32ebfcf62fe84a73c69.zip |
fix loop as described in issue #1827
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Config.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Config.php b/Zotlabs/Lib/Config.php index 40d5cc246..3d34c8497 100644 --- a/Zotlabs/Lib/Config.php +++ b/Zotlabs/Lib/Config.php @@ -121,6 +121,12 @@ class Config { * @return mixed Return value or false on error or if not set */ public static function Get($family, $key, $default = false) { + + if (App::$install) { + // The DB is not initalized yet + return false; + } + if ((! array_key_exists($family, App::$config)) || (! array_key_exists('config_loaded', App::$config[$family]))) { self::Load($family); } |