From be3e708a00c7b48b92637f11e4efe4935b487c3b Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 31 Jul 2017 19:15:51 +0100 Subject: bf --- src/fextdata.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fextdata.php') diff --git a/src/fextdata.php b/src/fextdata.php index cae9f63..0e1e72d 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -218,7 +218,7 @@ function getMainXML() { $updatetime=trim($sitedata[3]); $siteurl = $sitedata[0]; - LOGError("getMainXML: site $siteurl"); + LOGInfo("getMainXML: site $siteurl"); if(substr($siteurl,0,7) != 'http://') $siteurl = 'http://' . $siteurl; $urldiv='/'; @@ -268,7 +268,7 @@ function getMainXML() { $context = stream_context_create($opts); $s = @file_get_contents($siteurl . $urldiv . "site/getsite.php", 0, $context); if(strpos($s,'') !== false) - LOGError("xmltransfer: OK"); + LOGInfo("xmltransfer: OK"); else LOGError("xmltransfer: failed (" . $s . ")"); @@ -278,7 +278,7 @@ function getMainXML() { if(strtoupper(substr($s,0,5)) != "") { return false; } - if(importFromXML($s, $contest, $localsite, 1+$ct['updatetime'])) { + if(importFromXML($s, $contest, $localsite, false, 1+$ct['updatetime'])) { $str = $sitedata[0] . ' ' . $sitedata[1] . ' ' . $sitedata[2] . ' ' . $ti; $ti = 2+$ct['updatetime']; $param = array('contestnumber' => $contest, 'mainsiteurl' => $str, 'updatetime' => $ti); @@ -534,7 +534,7 @@ function generateSiteXML($contest,$site,$updatetime) { } $str .= "\n"; DBExec($c,"commit work","generateXML(commit)"); - LOGError("xml data generated for contest $contest site $site at time $updatetime"); + LOGInfo("xml data generated for contest $contest site $site at time $updatetime"); return $str; } -- cgit v1.2.3