From ccd463170fa0f918bbd6d01181ddf95ad084fc13 Mon Sep 17 00:00:00 2001 From: "jw2(kit rio)" Date: Sat, 31 Oct 2020 01:44:35 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20PHP?= =?UTF-8?q?=EB=B2=84=EC=A0=84=20=ED=99=95=EC=9D=B8=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 그누보드가 작동하는 최소 PHP 버전인 5.2.17 이하를 확인하는것을 삭제합니다. --- config.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config.php b/config.php index a6aea249c..acc666055 100644 --- a/config.php +++ b/config.php @@ -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', ''); } -?> \ No newline at end of file +?>