*
* @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
*
private $debug = false;
/**
- * Wether the file list is cached or not
+ * Whether the file list is cached
*/
private $listCached = false;
// 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;
// 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