1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

PHP Notice Removal

This commit is contained in:
Cameron
2016-03-13 01:16:37 -08:00
parent 3f6fe6cd85
commit 0655cb96fd
3 changed files with 16 additions and 4 deletions

View File

@@ -343,8 +343,14 @@ class cron_admin_ui extends e_admin_ui
$mes = e107::getMessage();
$frm = e107::getForm();
$lastload = intval(@file_get_contents(e_CACHE.'cronLastLoad.php'));
if(file_exists(e_CACHE.'cronLastLoad.php'))
{
$lastload = intval(@file_get_contents(e_CACHE.'cronLastLoad.php'));
}
else
{
$lastload = 0;
}
$ago = (time() - $lastload);