From 254583a135d6734713296355d9709de14fc2b25e Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 12 Apr 2017 16:22:59 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=A9=94=EC=9D=BC=20=EB=B3=B5?= =?UTF-8?q?=ED=99=94=ED=99=94=20=EB=AC=B8=EC=9E=90=EC=97=B4=EC=9D=B4=20?= =?UTF-8?q?=EA=B9=A8=EC=A7=80=EB=8A=94=20=ED=98=84=EC=83=81=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 1d74cb403..7785a2cd2 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -3197,7 +3197,7 @@ class str_encrypt function __construct($salt='') { if(!$salt) - $this->salt = md5(G5_MYSQL_PASSWORD); + $this->salt = md5(preg_replace('/[^0-9A-Za-z]/', substr(G5_MYSQL_USER, -1), G5_MYSQL_PASSWORD)); else $this->salt = $salt;