remove PHP_VERSION check

This commit is contained in:
conory 2016-01-08 18:11:05 +09:00
parent 343b0301ad
commit 7526d78aaa

View file

@ -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 */