mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Exit after an error with exit(1)
This commit is contained in:
parent
1cc15ddd42
commit
9281d68bea
1 changed files with 1 additions and 1 deletions
|
|
@ -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/");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue