From 7526d78aaa7bd25a366a4b247f6f5518efd99480 Mon Sep 17 00:00:00 2001 From: conory Date: Fri, 8 Jan 2016 18:11:05 +0900 Subject: [PATCH] remove PHP_VERSION check --- config/config.inc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/config.inc.php b/config/config.inc.php index d409f9e33..e3bfb3934 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -296,10 +296,7 @@ if((__DEBUG_OUTPUT__ == 2) && version_compare(PHP_VERSION, '6.0.0') === -1) } // Set Timezone as server time -if(version_compare(PHP_VERSION, '5.3.0') >= 0) -{ - date_default_timezone_set(@date_default_timezone_get()); -} +date_default_timezone_set(@date_default_timezone_get()); // Require a function-defined-file for simple use require(_XE_PATH_ . 'config/func.inc.php'); @@ -441,7 +438,8 @@ function __xe_autoload($class_name) } spl_autoload_register('__xe_autoload'); -if(file_exists(_XE_PATH_ . '/vendor/autoload.php')) { +if(file_exists(_XE_PATH_ . '/vendor/autoload.php')) +{ require _XE_PATH_ . '/vendor/autoload.php'; } /* End of file config.inc.php */