moved php shutdown function into error handler
removed gc cycle code
This commit is contained in:
1 parent
8f07376b93
commit
4f8542b854
3 files changed
+282
-287
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user