이메일 복화화 문자열이 깨지는 현상 수정

This commit is contained in:
thisgun committed 2017-06-14 10:31:53 +09:00
1 parent 435da08a02
commit 144926774d
1 file changed
+1 -1
+1 -1
View File
@@ -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;