From f332739571d7929d97b0e503b1160d61d557fcfc Mon Sep 17 00:00:00 2001 From: cassiopc Date: Wed, 31 Oct 2012 14:17:29 +0100 Subject: fixed typo in putfile.php --- boca-1.5.2/src/site/putfile.php | 4 ++-- boca-1.5.2/tools/icpc.etc.tgz | Bin 9525 -> 9525 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boca-1.5.2/src/site/putfile.php b/boca-1.5.2/src/site/putfile.php index 808eaa5..53964d4 100644 --- a/boca-1.5.2/src/site/putfile.php +++ b/boca-1.5.2/src/site/putfile.php @@ -164,10 +164,10 @@ if(is_writable($_SESSION["locr"] . $remotedir)) { fclose($fout); // test the format of the file - $fc=file_get_contents($fout); + $fc=file_get_contents($fn); if(($arr = unserialize(base64_decode($fc)))===false || !is_array($arr) || !isset($arr['site'])) { - echo "FAILED: File " . $fout . " is not compatible\n"; + echo "FAILED: File " . $fn . " is not compatible\n"; } else { if(@rename($fn, $_SESSION["locr"] . $remotedir . $ds . "score_" . $_SESSION["usertable"]["username"] . "_" . $_SESSION["usertable"]["usericpcid"] . "_" . md5(getIP()) . ".dat")) diff --git a/boca-1.5.2/tools/icpc.etc.tgz b/boca-1.5.2/tools/icpc.etc.tgz index 75654cb..8600bf1 100644 Binary files a/boca-1.5.2/tools/icpc.etc.tgz and b/boca-1.5.2/tools/icpc.etc.tgz differ -- cgit v1.2.3