优化 支持PHP7.3.0

This commit is contained in:
Comsenz 2018-12-17 15:22:32 +08:00
parent 1f1b8e34bb
commit 9198a30cdb
1 changed files with 1 additions and 7 deletions

View File

@ -21,13 +21,7 @@ if(DISCUZ_CORE_DEBUG) {
register_shutdown_function(array('core', 'handleShutdown')); register_shutdown_function(array('core', 'handleShutdown'));
} }
if(function_exists('spl_autoload_register')) { spl_autoload_register(array('core', 'autoload'));
spl_autoload_register(array('core', 'autoload'));
} else {
function __autoload($class) {
return core::autoload($class);
}
}
C::creatapp(); C::creatapp();