diff --git a/lib/common.lib.php b/lib/common.lib.php index 087875e32..48d2a98bf 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2469,22 +2469,6 @@ function get_skin_javascript($skin_path, $dir='') return $str; } -// file_put_contents 는 PHP5 전용 함수이므로 PHP4 하위버전에서 사용하기 위함 -// http://www.phpied.com/file_get_contents-for-php4/ -if (!function_exists('file_put_contents')) { - function file_put_contents($filename, $data) { - $f = @fopen($filename, 'w'); - if (!$f) { - return false; - } else { - $bytes = fwrite($f, $data); - fclose($f); - return $bytes; - } - } -} - - // HTML 마지막 처리 function html_end() { diff --git a/plugin/sms5/sms5.lib.php b/plugin/sms5/sms5.lib.php index 1165fa82b..bc93b445e 100644 --- a/plugin/sms5/sms5.lib.php +++ b/plugin/sms5/sms5.lib.php @@ -427,10 +427,6 @@ if($config['cf_sms_type'] == 'LMS') { if (!$fsocket) return false; set_time_limit(300); - ## php4.3.10일경우 - ## zend 최신버전으로 업해주세요.. - ## 또는 69번째 줄을 $this->Data as $tmp => $puts 로 변경해 주세요. - foreach($this->Data as $puts) { $dest = substr($puts,26,11); fputs($fsocket, $puts);