diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-07-31 14:32:40 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-07-31 14:32:40 +0000 |
| commit | a0764db09a66ee740888de30d6efdbbca45a2b4f (patch) | |
| tree | 8b89fb4c2800e7d479bfe4b54788521e3d7410da /src | |
| parent | 32b2c3ad76f99c8f7cb34241500f2dfe37144a02 (diff) | |
| download | boca-a0764db09a66ee740888de30d6efdbbca45a2b4f.tar.gz boca-a0764db09a66ee740888de30d6efdbbca45a2b4f.zip | |
bf
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; } } |