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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boca-1.5.2/src/site/putfile.php') 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")) -- cgit v1.2.3