From 1b94293e92915ff3c5b6944a16fb0851d6fd19cc Mon Sep 17 00:00:00 2001 From: cassiopc Date: Mon, 2 Sep 2013 15:03:33 +0200 Subject: inclusion of score's downloads from the first server in the file otherservers --- src/site/index.php | 4 ++-- src/site/putfile.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/site') diff --git a/src/site/index.php b/src/site/index.php index 3b066ab..0afc7e4 100644 --- a/src/site/index.php +++ b/src/site/index.php @@ -1,7 +1,7 @@ . //////////////////////////////////////////////////////////////////////////////// -// Last modified 21/jul/2012 by cassio@ime.usp.br +// Last modified 02/sep/2013 by cassio@ime.usp.br require('header.php'); if(isset($_GET['mainuser']) && isset($_GET['mainpass']) && $_GET['mainuser']!="" && $_GET['mainpass']!="") { $_SESSION['mainuser'] = $_GET['mainuser']; diff --git a/src/site/putfile.php b/src/site/putfile.php index 8a1d89a..6273711 100644 --- a/src/site/putfile.php +++ b/src/site/putfile.php @@ -181,7 +181,8 @@ if(is_writable($_SESSION["locr"] . $remotedir)) { } else { if(@rename($fn, $_SESSION["locr"] . $remotedir . $ds . "score_" . $_SESSION["usertable"]["username"] . - "_" . $_SESSION["usertable"]["usericpcid"] . "_" . md5(getIP()) . ".dat")) + "_" . $_SESSION["usertable"]["usericpcid"] . "_" //. md5(getIP()) + . ".dat")) echo "SCORE UPLOADED OK\n"; else echo "FAILED: UPDATE SCORE ERROR\n"; -- cgit v1.2.3