Remove refresh button and refresh timer (force real-time)

This commit is contained in:
bergware
2017-05-27 12:07:21 +02:00
parent cb116c0dbf
commit 55cb5ce9c6
13 changed files with 53 additions and 91 deletions

View File

@@ -1,6 +1,6 @@
<?PHP
/* Copyright 2005-2016, Lime Technology
* Copyright 2012-2016, Bergware International.
/* Copyright 2005-2017, Lime Technology
* Copyright 2012-2017, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
@@ -67,7 +67,7 @@ foreach (glob('plugins/*', GLOB_ONLYDIR) as $plugin) {
// Here's the page we're rendering
$myPage = $site[basename($path)];
$pageroot = $docroot.'/'.dirname($myPage['file']);
$update = $display['refresh']>0 || ($display['refresh']<0 && $var['mdResync']==0);
$update = true; // set for legacy
// Giddyup
require_once "$docroot/webGui/include/DefaultPageLayout.php";