diff options
author | redmatrix <git@macgirvin.com> | 2016-05-24 16:36:55 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-24 16:36:55 -0700 |
commit | 84ba6393ad32406a9875044aef2d031c7d0d7a46 (patch) | |
tree | e1d82b53030df491cea67407526aa5f1a1d0a521 /include/text.php | |
parent | 29ba8918093166ac32ef9a727a9b71ba8e01a402 (diff) | |
download | volse-hubzilla-84ba6393ad32406a9875044aef2d031c7d0d7a46.tar.gz volse-hubzilla-84ba6393ad32406a9875044aef2d031c7d0d7a46.tar.bz2 volse-hubzilla-84ba6393ad32406a9875044aef2d031c7d0d7a46.zip |
relocate index and db
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 91aeae989..21692e74f 100644 --- a/include/text.php +++ b/include/text.php @@ -571,7 +571,7 @@ function logger($msg, $level = LOGGER_NORMAL, $priority = LOG_INFO) { global $a; global $db; - if((App::$module == 'install') || (! ($db && $db->connected))) + if((App::$module == 'install') || (! (DBA::$dba && DBA::$dba->connected))) return; $debugging = get_config('system', 'debugging'); @@ -652,7 +652,7 @@ function dlogger($msg, $level = 0) { global $a; global $db; - if((App::$module == 'install') || (! ($db && $db->connected))) + if((App::$module == 'install') || (! (DBA::$dba && DBA::$dba->connected))) return; $debugging = get_config('system','debugging'); |