From a9d0141643329010a798de18a0265b3156adb3d7 Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Mon, 4 Oct 2010 23:06:09 +0000 Subject: [PATCH] Small bug fix to /inc/members.php git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@571 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/members.php | 6 +++--- inc/versioninfo.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/members.php b/inc/members.php index 4365b60..6e724f0 100644 --- a/inc/members.php +++ b/inc/members.php @@ -11,7 +11,7 @@ Copyright 2004-2010 iDB Support - http://idb.berlios.de/ Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: members.php - Last Update: 09/04/2010 SVN 569 - Author: cooldude2k $ + $FileInfo: members.php - Last Update: 09/04/2010 SVN 571 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="members.php"||$File3Name=="/members.php") { @@ -1383,9 +1383,9 @@ $NewPassword = b64e_hmac($_POST['Password'],$_POST['Joined'],$HashSalt,"ripemd25 if($Settings['use_hashtype']=="ripemd320") { $iDBHash = "iDBHRMD320"; $NewPassword = b64e_hmac($_POST['Password'],$_POST['Joined'],$HashSalt,"ripemd320"); } if($Settings['use_hashtype']=="salsa10") { $iDBHash = "iDBHRMD320"; -$NewPassword = b64e_hmac($_POST['Password'],,$_POST['Joined'],$HashSalt,"salsa10"); } +$NewPassword = b64e_hmac($_POST['Password'],$_POST['Joined'],$HashSalt,"salsa10"); } if($Settings['use_hashtype']=="salsa20") { $iDBHash = "iDBHRMD320"; -$NewPassword = b64e_hmac($_POST['Password'],,$_POST['Joined'],$HashSalt,"salsa20"); } +$NewPassword = b64e_hmac($_POST['Password'],$_POST['Joined'],$HashSalt,"salsa20"); } $_GET['YourPost'] = $_POST['Signature']; //require( './'.$SettDir['misc'].'HTMLTags.php'); $_GET['YourPost'] = htmlspecialchars($_GET['YourPost'], ENT_QUOTES, $Settings['charset']); diff --git a/inc/versioninfo.php b/inc/versioninfo.php index e736c30..c22a0ad 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2010 iDB Support - http://idb.berlios.de/ Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: versioninfo.php - Last Update: 09/04/2010 SVN 570 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 09/04/2010 SVN 571 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") { @@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { return $return_var; } // Version number and date stuff. :P $VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 1; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 570; $RName = "iDB"; $SFName = "IntDB"; +$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 571; $RName = "iDB"; $SFName = "IntDB"; $SVNDay[0] = 09; $SVNDay[1] = 04; $SVNDay[2] = 2010; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false); $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true); -- 2.11.4.GIT