mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
Add option to force check if this is the first time and cronjob has not yet run
This commit is contained in:
parent
46851d01f7
commit
de10a3921b
@ -72,6 +72,8 @@ if($_REQUEST['getupdatestatus']) {
|
||||
} elseif (file_exists($file_last_check)) {
|
||||
$last_check=file_get_contents($file_last_check);
|
||||
$update_text="<div class='text-info'>No updates found (checked once a day) </div><div class='text-info'>last time on: ".$last_check."</div><a href='' onclick='checkupdate()'>Click to check now</a>" ;
|
||||
} else {
|
||||
$update_text="<div class='text-info'>Daily cron has not yet run</div><a href='' onclick='checkupdate()'>Click here to try now</a>";
|
||||
}
|
||||
echo $update_text;
|
||||
exit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user