mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
parent
2b64badef0
commit
3a43b2f5db
@ -57,11 +57,11 @@ include(EASYWIDIR . '/stuff/keyphrasefile.php');
|
||||
|
||||
if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip, ipstoarray($rSA['cronjob_ips']))) {
|
||||
|
||||
echo "Start Syncs and Updates loading...\r\n";
|
||||
|
||||
$currentHour = date('G');
|
||||
$currentMinute = (int) date('i');
|
||||
|
||||
echo "Start Syncs and Updates. Hour is ${currentHour} and minute is ${currentMinute}\r\n";
|
||||
|
||||
$query = $sql->prepare("SELECT `lastUpdateRun` FROM `settings` WHERE `resellerid`=0 LIMIT 1");
|
||||
$query->execute();
|
||||
$lastUpdateRun= (int) $query->fetchColumn();
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user