1
0

admin fixes

This commit is contained in:
2018-02-03 14:43:41 +01:00
parent 0999209e5b
commit 07227175af
5 changed files with 21 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ class MikescherGitGraph
{
$p = self::getPathRenderedData();
if (!file($p)) return ['result'=>'err', 'message' => 'Rendered data not found'];
if (!file_exists($p)) return ['result'=>'err', 'message' => 'Rendered data not found'];
if (filemtime($p) < time()-(3*7*24*60*60)) return ['result'=>'warn', 'message' => 'Rendered data is older than 3 weeks'];

View File

@@ -63,7 +63,7 @@ class Programs
public static function listUpdateData()
{
$a = require (__DIR__ . '/../statics/updates/programupdates.php');
$a = require (__DIR__ . '/../statics/updates/_all.php');
return $a;
}