aboutsummaryrefslogtreecommitdiff
path: root/src/site/getsite.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-10-30 18:31:08 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-10-30 18:31:08 +0000
commit96b6addadf6401a70365ca09fc2373dae1e03e0d (patch)
tree4741aeb7e1869e37dda547e1a33ff9e6673dc13d /src/site/getsite.php
parent98faf59243a2ed9ab010723726a4f38d318111d7 (diff)
downloadboca-96b6addadf6401a70365ca09fc2373dae1e03e0d.tar.gz
boca-96b6addadf6401a70365ca09fc2373dae1e03e0d.zip
more verbose
Diffstat (limited to 'src/site/getsite.php')
-rw-r--r--src/site/getsite.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/site/getsite.php b/src/site/getsite.php
index bf4a609..7eacecd 100644
--- a/src/site/getsite.php
+++ b/src/site/getsite.php
@@ -53,9 +53,10 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) {
if(isset($_POST['updatetime']) && is_numeric($_POST['updatetime'])) {
$xml = generateSiteXML($_SESSION["usertable"]["contestnumber"],$fromsite,$_POST['updatetime']);
if(!isset($gc['doenc']) || $gc['doenc'])
- echo "<!-- " . encryptData($xml,$u["userpassword"]) . " -->";
+ echo "<!-- " . encryptData($xml[0],$u["userpassword"]) . " -->";
else
- echo "<!-- " . base64_encode($xml) . " -->";
+ echo "<!-- " . base64_encode($xml[0]) . " -->";
+ echo "MAIN\n" . $xml[1];
}
} else {
echo "<!-- <ERROR3> ".session_id() . " -->\n";