diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/site/getsite.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/site/getsite.php b/src/site/getsite.php index 4cb247d..d2c4bf0 100644 --- a/src/site/getsite.php +++ b/src/site/getsite.php @@ -22,7 +22,7 @@ header ("Content-transfer-encoding: binary\n"); ob_end_flush(); if(($ct = DBContestInfo($_SESSION["usertable"]["contestnumber"])) == null) { - echo "<!-- <ERROR4> ".session_id() . " " . session_id() . " -->\n"; + echo "<!-- <ERROR4> ".session_id() . " -->\n"; exit; } if($ct["contestlocalsite"]==$ct["contestmainsite"]) { @@ -40,9 +40,9 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) { echo "<!-- <ERROR8> ".session_id() . " -->\n"; } else { if(importFromXML($s,$_SESSION["usertable"]["contestnumber"],$fromsite,true)) - echo "<!-- <OK> -->"; + echo "<!-- <OK> -->\n"; else - echo "<!-- <NOTOK> -->"; + echo "<!-- <NOTOK> -->\n"; } } if(isset($_POST['updatetime']) && is_numeric($_POST['updatetime'])) { @@ -50,10 +50,10 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) { echo encryptData($xml,$u["userpassword"]); } } else { - echo "<!-- <ERROR3> ".session_id() . " " . session_id() . " -->\n"; + echo "<!-- <ERROR3> ".session_id() . " -->\n"; } } else { - echo "<!-- <ERROR9> ".session_id() . " " . session_id() . " -->\n"; + echo "<!-- <ERROR9> ".session_id() . " -->\n"; exit; } } |