From b954494cae52bd577668e24d37e0360791df48f5 Mon Sep 17 00:00:00 2001 From: Li Chen Date: Wed, 9 Oct 2013 23:46:19 +0200 Subject: [PATCH] functions.php: change selt --- onyx/include/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onyx/include/functions.php b/onyx/include/functions.php index dfdd80f4..d0cc2833 100644 --- a/onyx/include/functions.php +++ b/onyx/include/functions.php @@ -2,7 +2,7 @@ function mdp($username, $mdp) { - return hash('whirlpool', strtoupper($username).':'.$mdp); + return hash('whirlpool', strtoupper($username).'#'.$mdp); } function ip() @@ -93,4 +93,4 @@ function eregmenu($pattern, $string) return preg_match("#".$pattern."#ui", $string); } -?> \ No newline at end of file +?>