회원정보수정시 경로 오류 해결

This commit is contained in:
gnuboard committed 2013-01-30 16:18:36 +09:00
1 parent 24a5ac23d6
commit 9c34f21f39
4 files changed
+13 -20

No files matched your search

+3 -11
View File
@@ -1429,18 +1429,10 @@ function check_string($str, $options)
// 한글
if ($oc >= 0xA0 && $oc <= 0xFF) {
if (strtoupper($g4['charset']) == 'UTF-8') {
if ($options & G4_HANGUL) {
$s .= $c . $str[$i+1] . $str[$i+2];
}
$i+=2;
} else {
// 한글은 2바이트 이므로 문자하나를 건너뜀
$i++;
if ($options & G4_HANGUL) {
$s .= $c . $str[$i];
}
if ($options & G4_HANGUL) {
$s .= $c . $str[$i+1] . $str[$i+2];
}
$i+=2;
}
// 숫자
else if ($oc >= 0x30 && $oc <= 0x39) {