]> git.mxchange.org Git - core.git/blobdiff - inc/loader/class_ClassLoader.php
Added example local configuration file
[core.git] / inc / loader / class_ClassLoader.php
index 4b46ffa801f5e09e629cba3453051b23dcbc0300..7c9afa937f31af5e32c55b20769e6aa18dc34791 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;
@@ -396,7 +396,7 @@ class ClassLoader {
                // Prepare the list
                $includeList = '';
                foreach ($this->loadedClasses as $classFile) {
-                       $includeList .= basename($classFile)."<br />\n";
+                       $includeList .= basename($classFile) . '<br />' . PHP_EOL;
                } // END - foreach
 
                // And return it