aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-24 16:36:55 -0700
committerredmatrix <git@macgirvin.com>2016-05-24 16:36:55 -0700
commit84ba6393ad32406a9875044aef2d031c7d0d7a46 (patch)
treee1d82b53030df491cea67407526aa5f1a1d0a521 /include/text.php
parent29ba8918093166ac32ef9a727a9b71ba8e01a402 (diff)
downloadvolse-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.php4
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');