aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-13 16:54:59 -0700
committerfriendica <info@friendica.com>2014-08-13 16:54:59 -0700
commit4156c68d0d433e804787cdd7ff52235d51b53ba2 (patch)
treeeae3a51dc94beefabb95fea5df455dfa80255f43 /boot.php
parenteb38f3f47460bfb00af3dcae815720b2970a31eb (diff)
parent4a938db39841d91d294b1cb1c193f12cae5f9492 (diff)
downloadvolse-hubzilla-4156c68d0d433e804787cdd7ff52235d51b53ba2.tar.gz
volse-hubzilla-4156c68d0d433e804787cdd7ff52235d51b53ba2.tar.bz2
volse-hubzilla-4156c68d0d433e804787cdd7ff52235d51b53ba2.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index f7c16c646..a6ce76ada 100755
--- a/boot.php
+++ b/boot.php
@@ -980,6 +980,10 @@ class App {
function build_pagehead() {
+ $user_scalable = ((local_user()) ? get_pconfig(local_user(),'system','user_scalable') : 1);
+ if ($user_scalable === false)
+ $user_scalable = 1;
+
$interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 40000);
if($interval < 10000)
$interval = 40000;
@@ -993,6 +997,7 @@ class App {
*/
$tpl = get_markup_template('head.tpl');
$this->page['htmlhead'] = replace_macros($tpl, array(
+ '$user_scalable' => $user_scalable,
'$baseurl' => $this->get_baseurl(),
'$local_user' => local_user(),
'$generator' => RED_PLATFORM . ' ' . RED_VERSION,