aboutsummaryrefslogtreecommitdiff
path: root/src/site/getsite.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-10-25 10:43:58 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-10-25 10:43:58 +0000
commit335b8d76bd16450e707ddf49e7aef29cbd9917e1 (patch)
tree43cc478b9cd2171b612cf10ba2856db2fac18d35 /src/site/getsite.php
parent63abd1225d702f52ae001e8a617206c70b7b8be6 (diff)
downloadboca-335b8d76bd16450e707ddf49e7aef29cbd9917e1.tar.gz
boca-335b8d76bd16450e707ddf49e7aef29cbd9917e1.zip
better verbosity
Diffstat (limited to 'src/site/getsite.php')
-rw-r--r--src/site/getsite.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/site/getsite.php b/src/site/getsite.php
index 08235a0..e285778 100644
--- a/src/site/getsite.php
+++ b/src/site/getsite.php
@@ -38,7 +38,9 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) {
if(strtoupper(substr($s,0,5)) != "<XML>") {
echo "<!-- <ERROR8> ".session_id() . " -->\n";
} else {
- if(importFromXML($s,$_SESSION["usertable"]["contestnumber"],$fromsite,true))
+ $resp = importFromXML($s,$_SESSION["usertable"]["contestnumber"],$fromsite,true);
+ echo $resp[0];
+ if($resp[1])
echo "<!-- <OK> -->\n";
else
echo "<!-- <NOTOK> -->\n";