moved php shutdown function into error handler

removed gc cycle code
This commit is contained in:
Steffen Schröder
2014-05-29 22:46:38 +02:00
parent 8f07376b93
commit 4f8542b854
3 changed files with 282 additions and 287 deletions

View File

@ -108,6 +108,9 @@ if (extension_loaded('curl')) {
exit();
}
// Make sure garbage collection is enabled
gc_enable();
// Autoload Function that loads ManiaControl Class Files on Demand
spl_autoload_register(function ($className) {
$classPath = str_replace('\\', DIRECTORY_SEPARATOR, $className);