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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user