불필요한 PHP버전 확인 삭제

그누보드가 작동하는 최소 PHP 버전인 5.2.17 이하를  확인하는것을 삭제합니다.
This commit is contained in:
jw2(kit rio)
2020-10-31 01:44:35 +09:00
committed by GitHub
parent e9439c87d1
commit ccd463170f

View File

@ -10,10 +10,8 @@ define('G5_GNUBOARD_VER', '5.4.3');
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('_GNUBOARD_', true);
if (PHP_VERSION >= '5.1.0') {
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
date_default_timezone_set("Asia/Seoul");
}
// 기본 시간대 설정
date_default_timezone_set("Asia/Seoul");
/********************
경로 상수
@ -234,4 +232,4 @@ if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { //https 통신일때
} else { //http 통신일때 daum 주소 js
define('G5_POSTCODE_JS', '<script src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>');
}
?>
?>