timezone 선언후 mysql 에서도 설정되게 하기
This commit is contained in:
@ -9,7 +9,6 @@ define('_GNUBOARD_', true);
|
|||||||
define('G4_TIMEZONE', 'Asia/Seoul');
|
define('G4_TIMEZONE', 'Asia/Seoul');
|
||||||
|
|
||||||
if (PHP_VERSION >= '5.3.0') {
|
if (PHP_VERSION >= '5.3.0') {
|
||||||
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
|
|
||||||
date_default_timezone_set(G4_TIMEZONE);
|
date_default_timezone_set(G4_TIMEZONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user