From: Roland Häder Date: Wed, 11 Jun 2008 22:58:07 +0000 (+0000) Subject: Fixes for making hub working again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b5860116558d94e2f8689cd385670814e9d80f88;p=hub.git Fixes for making hub working again --- diff --git a/inc/classes/main/debug/class_DebugConsoleOutput.php b/inc/classes/main/debug/class_DebugConsoleOutput.php index f7dbea758..77b28b4be 100644 --- a/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer { +class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer, Registerable { /** * Protected constructor * diff --git a/inc/config.php b/inc/config.php index d27057bfe..ccc1a64e3 100644 --- a/inc/config.php +++ b/inc/config.php @@ -25,9 +25,9 @@ */ // Load the class from inc/config direktory -@require_once(dirname(__FILE__) . '/classes/interfaces/class_FrameworkInterface.php'); -@require_once(dirname(__FILE__) . '/classes/interfaces/registry/class_Registerable.php'); -@require_once(dirname(__FILE__) . '/config/class_FrameworkConfiguration.php'); +require_once(dirname(__FILE__) . '/classes/interfaces/class_FrameworkInterface.php'); +require_once(dirname(__FILE__) . '/classes/interfaces/registry/class_Registerable.php'); +require_once(dirname(__FILE__) . '/config/class_FrameworkConfiguration.php'); // Get a new configuration instance $cfg = FrameworkConfiguration::createFrameworkConfiguration(); diff --git a/inc/config/config-override.php b/inc/config/config-override.php index f8e8f801b..bdc7d9bd0 100644 --- a/inc/config/config-override.php +++ b/inc/config/config-override.php @@ -24,6 +24,7 @@ // CFG: DEFAULT-APPLICATION FrameworkConfiguration::getInstance()->setConfigEntry("default_application", "hub"); +FrameworkConfiguration::getInstance()->setConfigEntry("app_name", "hub"); // [EOF] ?> diff --git a/inc/loader/class_ClassLoader.php b/inc/loader/class_ClassLoader.php index 348a8e039..869f4c2b2 100644 --- a/inc/loader/class_ClassLoader.php +++ b/inc/loader/class_ClassLoader.php @@ -236,6 +236,7 @@ class ClassLoader { // If the basePath is false it is invalid if ($basePath2 === false) { // TODO: Do not die here. + debug_print_backtrace(); die("Cannot read {$basePath} !"); } else { // Set base path