]> git.mxchange.org Git - hub.git/commitdiff
Fixes for making hub working again
authorRoland Häder <roland@mxchange.org>
Wed, 11 Jun 2008 22:58:07 +0000 (22:58 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 11 Jun 2008 22:58:07 +0000 (22:58 +0000)
inc/classes/main/debug/class_DebugConsoleOutput.php
inc/config.php
inc/config/config-override.php
inc/loader/class_ClassLoader.php

index f7dbea7589d2dc47f7e9b81f99a32e747b4442c8..77b28b4bebf6a6982af80f8b6df183d065ffc462 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer {
+class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer, Registerable {
        /**
         * Protected constructor
         *
index d27057bfeeed6cc1f0389cd78336e63b64035e82..ccc1a64e3dbc2f08dc55460d8602f332a637d600 100644 (file)
@@ -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();
index f8e8f801b9d553b390ec30496bb5af6800edc05a..bdc7d9bd02eff42485ef2b16763819c2070430f5 100644 (file)
@@ -24,6 +24,7 @@
 
 // CFG: DEFAULT-APPLICATION
 FrameworkConfiguration::getInstance()->setConfigEntry("default_application", "hub");
+FrameworkConfiguration::getInstance()->setConfigEntry("app_name", "hub");
 
 // [EOF]
 ?>
index 348a8e039672328820b9a12c785c7890a3890fbd..869f4c2b24944c1a9fb27da2ef718fb3a94f2f69 100644 (file)
@@ -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