diff options
| author | cassiopc <cassiopc@gmail.com> | 2012-10-31 13:17:29 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2012-10-31 13:17:29 +0000 |
| commit | f332739571d7929d97b0e503b1160d61d557fcfc (patch) | |
| tree | 57355b47f03060a6fa398ba2b574ec4145b75d0e | |
| parent | f97dd499bec751ea40e291aa4b7e3062c7b2df3a (diff) | |
| download | boca-f332739571d7929d97b0e503b1160d61d557fcfc.tar.gz boca-f332739571d7929d97b0e503b1160d61d557fcfc.zip | |
fixed typo in putfile.php
| -rw-r--r-- | boca-1.5.2/src/site/putfile.php | 4 | ||||
| -rw-r--r-- | 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 Binary files differindex 75654cb..8600bf1 100644 --- a/boca-1.5.2/tools/icpc.etc.tgz +++ b/boca-1.5.2/tools/icpc.etc.tgz |