ip 숨김방법 설정 추가 - 로빈아빠님 건의

This commit is contained in:
chicpro
2014-01-27 10:07:01 +09:00
parent d6a46b86e2
commit facdfd564f
6 changed files with 13 additions and 5 deletions

View File

@ -169,7 +169,7 @@ if ($is_admin) {
} else {
// 관리자가 아니라면 IP 주소를 감춘후 보여줍니다.
if (isset($write['wr_ip'])) {
$ip = preg_replace("/([0-9]+).([0-9]+).([0-9]+).([0-9]+)/", "\\1.♡.\\3.\\4", $write['wr_ip']);
$ip = preg_replace("/([0-9]+).([0-9]+).([0-9]+).([0-9]+)/", G5_IP_DISPLAY, $write['wr_ip']);
}
}