mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +00:00
Exit after an error with exit(1)
This commit is contained in:
@ -78,7 +78,7 @@ if(!extension_loaded("zlib") and @dl((PHP_SHLIB_SUFFIX === "dll" ? "php_":"") .
|
||||
}
|
||||
|
||||
if($errors > 0){
|
||||
die();
|
||||
exit(1); //Exit with error
|
||||
}
|
||||
|
||||
require_all(FILE_PATH . "src/classes/");
|
||||
|
Reference in New Issue
Block a user