aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.2/src
diff options
context:
space:
mode:
Diffstat (limited to 'boca-1.5.2/src')
-rw-r--r--boca-1.5.2/src/site/putfile.php4
1 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"))