diff options
| -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 |