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

This commit is contained in:
thisgun
2017-04-12 16:22:59 +09:00
parent 08b8d1e3e2
commit 254583a135

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;