aboutsummaryrefslogtreecommitdiff
path: root/src/site
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-07-30 17:27:51 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-07-30 17:27:51 +0000
commit7ea0dc5b457b955ff725e29b04a4922662bb2d79 (patch)
tree37f281f4be4dcc870569351720e2dc129cf5e7c5 /src/site
parented6a62b493615cd8e5c783dc133edbd30bb2e0c2 (diff)
downloadboca-7ea0dc5b457b955ff725e29b04a4922662bb2d79.tar.gz
boca-7ea0dc5b457b955ff725e29b04a4922662bb2d79.zip
bf
Diffstat (limited to 'src/site')
-rw-r--r--src/site/getsite.php4
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> -->";