PHP 4지원 함수 삭제
This commit is contained in:
@ -2469,22 +2469,6 @@ function get_skin_javascript($skin_path, $dir='')
|
|||||||
return $str;
|
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 마지막 처리
|
// HTML 마지막 처리
|
||||||
function html_end()
|
function html_end()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -427,10 +427,6 @@ if($config['cf_sms_type'] == 'LMS') {
|
|||||||
if (!$fsocket) return false;
|
if (!$fsocket) return false;
|
||||||
set_time_limit(300);
|
set_time_limit(300);
|
||||||
|
|
||||||
## php4.3.10일경우
|
|
||||||
## zend 최신버전으로 업해주세요..
|
|
||||||
## 또는 69번째 줄을 $this->Data as $tmp => $puts 로 변경해 주세요.
|
|
||||||
|
|
||||||
foreach($this->Data as $puts) {
|
foreach($this->Data as $puts) {
|
||||||
$dest = substr($puts,26,11);
|
$dest = substr($puts,26,11);
|
||||||
fputs($fsocket, $puts);
|
fputs($fsocket, $puts);
|
||||||
|
|||||||
Reference in New Issue
Block a user