From b5860116558d94e2f8689cd385670814e9d80f88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 11 Jun 2008 22:58:07 +0000 Subject: [PATCH] Fixes for making hub working again --- inc/classes/main/debug/class_DebugConsoleOutput.php | 2 +- inc/config.php | 6 +++--- inc/config/config-override.php | 1 + inc/loader/class_ClassLoader.php | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.2