diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-10-25 10:44:29 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-10-25 10:44:29 +0000 |
| commit | 51b8b2e5243198b89535bbfb836dbd8a1e1b51d5 (patch) | |
| tree | d9540073dd442053b4532ad9cc78f550fafb1081 /src | |
| parent | 335b8d76bd16450e707ddf49e7aef29cbd9917e1 (diff) | |
| download | boca-51b8b2e5243198b89535bbfb836dbd8a1e1b51d5.tar.gz boca-51b8b2e5243198b89535bbfb836dbd8a1e1b51d5.zip | |
better verbosity
Diffstat (limited to 'src')
| -rw-r--r-- | src/fextdata.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fextdata.php b/src/fextdata.php index 817311d..d07b6c0 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -381,7 +381,9 @@ function getMainXML($contest,$timeo=5,$upd=false) { return $logstr; } $logstr .= "Importing data to local server\n"; - if(importFromXML($s, $contest, $localsite, false, 1+$ct['updatetime'])) { + $resp = importFromXML($s, $contest, $localsite, false, 1+$ct['updatetime']); + echo $resp[1]; + if($resp[0]) { $str = $sitedata[0] . ' ' . $sitedata[1] . ' ' . $sitedata[2] . ' ' . $ti; $ti = 2+$ct['updatetime']; $param = array('contestnumber' => $contest, 'mainsiteurl' => $str, 'updatetime' => $ti); |