Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
이메일 복화화 문자열이 깨지는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Jun 14, 2017
1 parent f10a932 commit 07c7687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3212,7 +3212,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;

Expand Down

0 comments on commit 07c7687

Please sign in to comment.