aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-07 23:24:07 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-07 23:24:07 +0100
commit7cd7837e08dfedd4e4768703f3b81ef731221deb (patch)
treee30bda683fa52280a064d1553a6d503131e08578
parent66f74379659be970bb28d1d2e8efcdbce13637f3 (diff)
downloadvolse-hubzilla-7cd7837e08dfedd4e4768703f3b81ef731221deb.tar.gz
volse-hubzilla-7cd7837e08dfedd4e4768703f3b81ef731221deb.tar.bz2
volse-hubzilla-7cd7837e08dfedd4e4768703f3b81ef731221deb.zip
reverse logic
-rw-r--r--Zotlabs/Module/Settings/Display.php4
-rwxr-xr-xboot.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Settings/Display.php b/Zotlabs/Module/Settings/Display.php
index d03b64db7..25d1d21a0 100644
--- a/Zotlabs/Module/Settings/Display.php
+++ b/Zotlabs/Module/Settings/Display.php
@@ -159,7 +159,7 @@ class Display {
$preload_images = (($preload_images===false)? '0': $preload_images); // default if not set: 0
$user_scalable = get_pconfig(local_channel(),'system','user_scalable');
- $user_scalable = (($user_scalable===false)? '1': $user_scalable); // default if not set: 1
+ $user_scalable = (($user_scalable===false)? '0': $user_scalable); // default if not set: 0
$browser_update = intval(get_pconfig(local_channel(), 'system','update_interval'));
$browser_update = (($browser_update == 0) ? 80 : $browser_update / 1000); // default if not set: 40 seconds
@@ -240,4 +240,4 @@ class Display {
-} \ No newline at end of file
+}
diff --git a/boot.php b/boot.php
index c52f844e1..1c558ef70 100755
--- a/boot.php
+++ b/boot.php
@@ -1135,9 +1135,9 @@ class App {
public static function build_pagehead() {
- $user_scalable = ((local_channel()) ? get_pconfig(local_channel(),'system','user_scalable') : 1);
+ $user_scalable = ((local_channel()) ? get_pconfig(local_channel(),'system','user_scalable') : 0);
if ($user_scalable === false)
- $user_scalable = 1;
+ $user_scalable = 0;
$preload_images = ((local_channel()) ? get_pconfig(local_channel(),'system','preload_images') : 0);
if ($preload_images === false)