aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-02 14:04:08 -0800
committerfriendica <info@friendica.com>2012-01-02 14:04:08 -0800
commitf1ee5f48d4a0bb2f293c6c9a38ba71cbeb9d14fa (patch)
tree077a9b89be96de24b2528719b403b663feb0cc88 /include/text.php
parent3f2a492ce799e6328b9a52150319d303727df21b (diff)
parentbbf491d52b73ff8152ecdf6700842eaa7a8d3bb8 (diff)
downloadvolse-hubzilla-f1ee5f48d4a0bb2f293c6c9a38ba71cbeb9d14fa.tar.gz
volse-hubzilla-f1ee5f48d4a0bb2f293c6c9a38ba71cbeb9d14fa.tar.bz2
volse-hubzilla-f1ee5f48d4a0bb2f293c6c9a38ba71cbeb9d14fa.zip
Merge branch 'pull'
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index d6b3ceeab..f32aaad07 100644
--- a/include/text.php
+++ b/include/text.php
@@ -426,6 +426,10 @@ function attribute_contains($attr,$s) {
if(! function_exists('logger')) {
function logger($msg,$level = 0) {
+ // turn off logger in install mode
+ global $a;
+ if ($a->module == 'install') return;
+
$debugging = get_config('system','debugging');
$loglevel = intval(get_config('system','loglevel'));
$logfile = get_config('system','logfile');