aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2012-01-02 13:35:23 -0800
committerfabrixxm <fabrix.xm@gmail.com>2012-01-02 13:35:23 -0800
commitbbf491d52b73ff8152ecdf6700842eaa7a8d3bb8 (patch)
treecb213f0657d8e949d2a43156b8080085567fa7d0 /include/text.php
parent4b095665791424bd2f5c4c494a2d14ec6c07aeba (diff)
parentc7bfd1e1bae28f2305e2d1d3425052a864a6e251 (diff)
downloadvolse-hubzilla-bbf491d52b73ff8152ecdf6700842eaa7a8d3bb8.tar.gz
volse-hubzilla-bbf491d52b73ff8152ecdf6700842eaa7a8d3bb8.tar.bz2
volse-hubzilla-bbf491d52b73ff8152ecdf6700842eaa7a8d3bb8.zip
Merge pull request #21 from fabrixxm/fixinstall
Fix install procedure
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');