reverse logic
This commit is contained in:
parent
66f7437965
commit
7cd7837e08
@ -159,7 +159,7 @@ class Display {
|
|||||||
$preload_images = (($preload_images===false)? '0': $preload_images); // default if not set: 0
|
$preload_images = (($preload_images===false)? '0': $preload_images); // default if not set: 0
|
||||||
|
|
||||||
$user_scalable = get_pconfig(local_channel(),'system','user_scalable');
|
$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 = intval(get_pconfig(local_channel(), 'system','update_interval'));
|
||||||
$browser_update = (($browser_update == 0) ? 80 : $browser_update / 1000); // default if not set: 40 seconds
|
$browser_update = (($browser_update == 0) ? 80 : $browser_update / 1000); // default if not set: 40 seconds
|
||||||
|
4
boot.php
4
boot.php
@ -1135,9 +1135,9 @@ class App {
|
|||||||
|
|
||||||
public static function build_pagehead() {
|
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)
|
if ($user_scalable === false)
|
||||||
$user_scalable = 1;
|
$user_scalable = 0;
|
||||||
|
|
||||||
$preload_images = ((local_channel()) ? get_pconfig(local_channel(),'system','preload_images') : 0);
|
$preload_images = ((local_channel()) ? get_pconfig(local_channel(),'system','preload_images') : 0);
|
||||||
if ($preload_images === false)
|
if ($preload_images === false)
|
||||||
|
Reference in New Issue
Block a user