From df477b322c071d81ea06ad972a36ea9f30cdc34f Mon Sep 17 00:00:00 2001 From: cassiopc Date: Mon, 22 Oct 2012 18:50:03 +0200 Subject: update sendscore.sh to cope with new version. Fix password update and hexsub --- boca-1.5.1/src/site/putfile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boca-1.5.1/src/site') diff --git a/boca-1.5.1/src/site/putfile.php b/boca-1.5.1/src/site/putfile.php index d320a1a..3155bd8 100644 --- a/boca-1.5.1/src/site/putfile.php +++ b/boca-1.5.1/src/site/putfile.php @@ -163,7 +163,8 @@ if(is_writable($_SESSION["locr"] . $remotedir)) { fwrite($fout,$total,10000000); fclose($fout); - if(@rename($fn, $_SESSION["locr"] . $remotedir . $ds . "score_" . $_SESSION["usertable"]["username"] . "_" . md5(getIP()) . ".dat")) + if(@rename($fn, $_SESSION["locr"] . $remotedir . $ds . "score_" . $_SESSION["usertable"]["username"] . + "_" . $_SESSION["usertable"]["usericpcid"] . "_" . md5(getIP()) . ".dat")) echo "SCORE UPLOADED OK\n"; else echo "FAILED: UPDATE SCORE ERROR\n"; -- cgit v1.2.3