From bfb0b23afb0c15a276c5499ad237273b4ea8cd08 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 30 Oct 2017 15:40:16 +0000 Subject: bf --- src/fextdata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fextdata.php') diff --git a/src/fextdata.php b/src/fextdata.php index 9deb183..93b185e 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -227,7 +227,7 @@ function scoretransfer($putname, $localsite, $timeo=5) { } else { LOGError("scoretransfer: upload full failed (" . $s . ")"); - $logstr .= 'upload of full score to $siteurl failed (' . $s . ')'; + $logstr .= "upload of full score to $siteurl failed (" . $s . ")\n"; } } } @@ -383,7 +383,7 @@ function getMainXML($contest,$timeo=5,$upd=false) { } $logstr .= "Importing data to local server\n"; $resp = importFromXML($s, $contest, $localsite, false, 1+$ct['updatetime']); - echo $resp[1]; + $logstr .= $resp[1]; if($resp[0]) { $str = $sitedata[0] . ' ' . $sitedata[1] . ' ' . $sitedata[2] . ' ' . $ti; $ti = 2+$ct['updatetime']; -- cgit v1.2.3