aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-12 20:13:12 -0800
committerfriendica <info@friendica.com>2011-12-12 20:13:12 -0800
commited725df5f1c1ea2484c689283e93f8f825591384 (patch)
tree289183e66da097acfeaeb0c7bfe9099a87a5a86a /boot.php
parent50c4b9a7803c08d6e41fc64ca3ffeb66c7f450ba (diff)
parentee4975f1cd9f205e2300f3e22e51079c5e26f155 (diff)
downloadvolse-hubzilla-ed725df5f1c1ea2484c689283e93f8f825591384.tar.gz
volse-hubzilla-ed725df5f1c1ea2484c689283e93f8f825591384.tar.bz2
volse-hubzilla-ed725df5f1c1ea2484c689283e93f8f825591384.zip
Merge branch 'master' into notify
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index d36d663b9..522eee2e1 100644
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '2.3.1192' );
+define ( 'FRIENDICA_VERSION', '2.3.1193' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1111 );
@@ -422,6 +422,10 @@ class App {
}
function init_pagehead() {
+ $interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 40000);
+ if($interval < 10000)
+ $interval = 40000;
+
$this->page['title'] = $this->config['sitename'];
$tpl = file_get_contents('view/head.tpl');
$this->page['htmlhead'] = replace_macros($tpl,array(
@@ -430,7 +434,8 @@ class App {
'$delitem' => t('Delete this item?'),
'$comment' => t('Comment'),
'$showmore' => t('show more'),
- '$showfewer' => t('show fewer')
+ '$showfewer' => t('show fewer'),
+ '$update_interval' => $interval
));
}