]> git.mxchange.org Git - core.git/blobdiff - inc/loader/class_ClassLoader.php
Used exit() (also app_die()->app_exit()) because die() is an alias of exit nowadays
[core.git] / inc / loader / class_ClassLoader.php
index 4b46ffa801f5e09e629cba3453051b23dcbc0300..2de06ca2fc86abfaf9fa964aa453598b4bc84039 100644 (file)
@@ -271,7 +271,7 @@ class ClassLoader {
                // If the basePath is false it is invalid
                if ($basePath2 === false) {
                        /* @todo: Do not die here. */
-                       die(__METHOD__ . ':Cannot read ' . $basePath . ' !');
+                       exit(__METHOD__ . ':Cannot read ' . $basePath . ' !');
                } else {
                        // Set base path
                        $basePath = $basePath2;