X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Floader%2Fclass_ClassLoader.php;h=7c9afa937f31af5e32c55b20769e6aa18dc34791;hp=f5cc2afd206c40cbce5e3b681059bdd4b1d897d3;hb=1dbbf8cc5f7a167559b23d41ffa3bab8e8ebf5e1;hpb=5dcdec05cf48f5f940dabab64e3a59e0570ebae3
diff --git a/inc/loader/class_ClassLoader.php b/inc/loader/class_ClassLoader.php
index f5cc2afd..7c9afa93 100644
--- a/inc/loader/class_ClassLoader.php
+++ b/inc/loader/class_ClassLoader.php
@@ -271,7 +271,7 @@ class ClassLoader {
// If the basePath is false it is invalid
if ($basePath2 === false) {
/* @todo: Do not die here. */
- die('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)."
\n";
+ $includeList .= basename($classFile) . '
' . PHP_EOL;
} // END - foreach
// And return it