From 9281d68bea088387df38017e2eb5d5030231d400 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Sat, 9 Feb 2013 11:32:53 +0100 Subject: [PATCH] Exit after an error with exit(1) --- src/common/dependencies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dependencies.php b/src/common/dependencies.php index cd60ba0f..740da129 100644 --- a/src/common/dependencies.php +++ b/src/common/dependencies.php @@ -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/");