#17 + #79: Refactor XML API repsonse

This commit is contained in:
Ulrich Block 2014-01-26 13:04:36 +01:00
parent 2b64badef0
commit 3a43b2f5db
2 changed files with 467 additions and 225 deletions

View File

@ -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