aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-01-03 21:14:48 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-01-03 21:14:48 +0100
commit93563370c96848948d28ed39e13284ebaf7f430a (patch)
tree701c29133372625f54a098026d8570f191727a24 /include/text.php
parentbe2fd56aae51ee02b6e40dedd4383e1ebddc752e (diff)
parent184230e06826117b1d87241e3acdf19935470e8f (diff)
downloadvolse-hubzilla-93563370c96848948d28ed39e13284ebaf7f430a.tar.gz
volse-hubzilla-93563370c96848948d28ed39e13284ebaf7f430a.tar.bz2
volse-hubzilla-93563370c96848948d28ed39e13284ebaf7f430a.zip
Merge remote-tracking branch 'friendica/master'
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');