mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
remove PHP_VERSION check
This commit is contained in:
parent
343b0301ad
commit
7526d78aaa
1 changed files with 3 additions and 5 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue