diff options
Diffstat (limited to 'src/site')
| -rw-r--r-- | src/site/getsite.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/site/getsite.php b/src/site/getsite.php index 66e04e5..49b5fd2 100644 --- a/src/site/getsite.php +++ b/src/site/getsite.php @@ -33,10 +33,10 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) { if(isset($_POST)) { if(isset($_POST['xml'])) { // $fp=fopen('/tmp/aaa',"w"); fwrite($fp,$_POST['xml']); fclose($fp); - $s = decryptData(rawurldecode($_POST['xml']),myhash($_SESSION["usertable"]["userpassword"]),'xml from local not ok'); + $s = decryptData(rawurldecode($_POST['xml']),$_SESSION["usertable"]["userpassword"],'xml from local not ok'); // $fp=fopen('/tmp/aaa1',"w"); fwrite($fp,$s); fclose($fp); if(strtoupper(substr($s,0,5)) != "<XML>") { - echo "<!-- <ERROR8> ".session_id() . " " . session_id() . " -->\n"; + echo "<!-- <ERROR8> ".session_id() . " -->\n"; } else { if(importFromXML($s,$_SESSION["usertable"]["contestnumber"],$fromsite,true)) echo "<!-- <OK> -->"; |