die() expanded with __METHOD__
[core.git] / inc / loader / class_ClassLoader.php
index f5cc2afd206c40cbce5e3b681059bdd4b1d897d3..4b46ffa801f5e09e629cba3453051b23dcbc0300 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('Cannot read ' . $basePath . ' !');
+                       die(__METHOD__ . ':Cannot read ' . $basePath . ' !');
                } else {
                        // Set base path
                        $basePath = $basePath2;