]> git.mxchange.org Git - core.git/blobdiff - inc/loader/class_ClassLoader.php
die() expanded with __METHOD__
[core.git] / inc / loader / class_ClassLoader.php
index 61d5effc16031fc2b688a26fbb6e7a2d79573e66..4b46ffa801f5e09e629cba3453051b23dcbc0300 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -74,7 +74,7 @@ class ClassLoader {
        private $debug = false;
 
        /**
        private $debug = false;
 
        /**
-        * Wether the file list is cached or not
+        * Whether the file list is cached
         */
        private $listCached = false;
 
         */
        private $listCached = false;
 
@@ -271,7 +271,7 @@ class ClassLoader {
                // If the basePath is false it is invalid
                if ($basePath2 === false) {
                        /* @todo: Do not die here. */
                // 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;
                } else {
                        // Set base path
                        $basePath = $basePath2;