aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-02 14:09:09 -0800
committerfriendica <info@friendica.com>2014-02-02 14:09:09 -0800
commit02e4527de682042562dccac83899ef562c4b1e05 (patch)
tree634126be6ba87059f3c12c5b0ff2c98cc52838da
parentcf85fec9196a2da90f84b4fb44643994005f84d5 (diff)
downloadvolse-hubzilla-02e4527de682042562dccac83899ef562c4b1e05.tar.gz
volse-hubzilla-02e4527de682042562dccac83899ef562c4b1e05.tar.bz2
volse-hubzilla-02e4527de682042562dccac83899ef562c4b1e05.zip
better check for setup module
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index a9264fee7..0012798a6 100755
--- a/index.php
+++ b/index.php
@@ -244,7 +244,7 @@ if(! x($a->page,'content'))
-if(! $install) {
+if(! ($a->module === 'setup')) {
/* set JS cookie */
if($_COOKIE['jsAvailable'] != 1) {
$a->page['content'] .= '<script>document.cookie="jsAvailable=1; path=/"; var jsMatch = /\&JS=1/; if (!jsMatch.exec(location.href)) { location.href = location.href + "&JS=1"; }</script>';