From 158eefabd93d51a7bd95b7651743182d817ee00a Mon Sep 17 00:00:00 2001 From: cassiopc Date: Mon, 2 Sep 2013 18:17:26 +0200 Subject: bug fixes to score sync --- src/index.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/index.php') diff --git a/src/index.php b/src/index.php index 8ffdcd8..642e7a0 100644 --- a/src/index.php +++ b/src/index.php @@ -45,14 +45,13 @@ if (!isset($_GET["name"])) { $_SESSION["locr"] = dirname(__FILE__); if($_SESSION["locr"]=="/") $_SESSION["locr"] = ""; } -ob_end_flush(); - -require_once('version.php'); - if(isset($_GET["getsessionid"])) { echo session_id(); exit; } +ob_end_flush(); + +require_once('version.php'); ?> BOCA Online Contest Administrator <?php echo $BOCAVERSION; ?> - Login @@ -85,7 +84,7 @@ if(function_exists("globalconf") && function_exists("sanitizeVariables")) { ForceLoad("index.php"); if($ct["contestlocalsite"]==$ct["contestmainsite"]) $main=true; else $main=false; if(isset($_GET['action']) && $_GET['action'] == 'scoretransfer') { - echo "OK"; + echo "SCORETRANSFER OK"; } else { if($main && $_SESSION["usertable"]["usertype"] == 'site') { MSGError('Direct login of this user is not allowed'); -- cgit v1.2.3