diff options
| author | cassiopc <cassiopc@gmail.com> | 2013-09-02 16:17:26 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2013-09-02 16:17:26 +0000 |
| commit | 158eefabd93d51a7bd95b7651743182d817ee00a (patch) | |
| tree | 1f9bb147af63787e062ba952822a839946f187ed /src/index.php | |
| parent | 056b014febb3fade0a685e119041f6b7a809328b (diff) | |
| download | boca-158eefabd93d51a7bd95b7651743182d817ee00a.tar.gz boca-158eefabd93d51a7bd95b7651743182d817ee00a.zip | |
bug fixes to score sync
Diffstat (limited to 'src/index.php')
| -rw-r--r-- | src/index.php | 9 |
1 files changed, 4 insertions, 5 deletions
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'); ?> <title>BOCA Online Contest Administrator <?php echo $BOCAVERSION; ?> - Login</title> @@ -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'); |