diff --git a/lib/constant.php b/lib/constant.php deleted file mode 100644 index 681066f1a..000000000 --- a/lib/constant.php +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/lib/etc.lib.php b/lib/etc.lib.php index fd4ccde10..34af83e61 100644 --- a/lib/etc.lib.php +++ b/lib/etc.lib.php @@ -1,4 +1,4 @@ -1; $k--) { + for ($k=$cut-1; $k>1; $k--) { if (ord(substr($word,$k,1))<128) break; // 한글값은 160 이상. } $word=substr($word,0,$cut-($cut-$k+1)%2); @@ -134,7 +134,7 @@ class SMS { set_time_limit(300); ## php4.3.10일경우 - ## zend 최신버전으로 업해주세요.. + ## zend 최신버전으로 업해주세요.. ## 또는 122번째 줄을 $this->Data as $tmp => $puts 로 변경해 주세요. foreach($this->Data as $puts) { diff --git a/lib/iteminfo.lib.php b/lib/iteminfo.lib.php index f693672d8..74b94007f 100644 --- a/lib/iteminfo.lib.php +++ b/lib/iteminfo.lib.php @@ -1,4 +1,4 @@ -")) - return "올바른 트랙백 URL이 아닙니다."; - - //XML 부분만 뽑음 - $response = strchr($response,"")); - - //에러 검사 - if(strstr($response,"0")) - return ""; - else { - $tb_error_str = strchr($response,""); - $tb_error_str = substr($tb_error_str,0,strpos($tb_error_str,"")); - $tb_error_str = str_replace("","",$tb_error_str); - return "트랙백 전송중 오류가 발생했습니다: $tb_error_str"; - } -} -?> \ No newline at end of file