X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=boot.php;h=bc6f77dc687d0269a83e1680da40c69b37babe3d;hb=6d7781434bedda23366e6c007c15f85b80a0e073;hp=c447609309d7893c0358a9670d2d4ddfeed72c2f;hpb=ac9f21806e2897c868be0b223efd04575d9cf2eb;p=friendica.git diff --git a/boot.php b/boot.php index c447609309..bc6f77dc68 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.1190' ); +define ( 'FRIENDICA_VERSION', '2.3.1195' ); 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 )); }