Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
This commit is contained in:
commit
26aaa62048
@ -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 {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
4
boot.php
4
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)
|
||||
|
Reference in New Issue
Block a user