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

Commit

Permalink
ip 차단시 접근불가 글씨 깨지는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Sep 11, 2017
1 parent 738808d commit 14c133a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function sql_escape_string($str)
break;
}
if (!$is_possible_ip)
die ("접근이 가능하지 않습니다.");
die ("<meta charset=utf-8>접근이 가능하지 않습니다.");
}

// 접근차단 IP
Expand All @@ -460,7 +460,7 @@ function sql_escape_string($str)
$pat = "/^{$pattern[$i]}$/";
$is_intercept_ip = preg_match($pat, $_SERVER['REMOTE_ADDR']);
if ($is_intercept_ip)
die ("접근 불가합니다.");
die ("<meta charset=utf-8>접근 불가합니다.");
}
}

Expand Down

0 comments on commit 14c133a

Please sign in to comment.