Config entry 'web_engine' renamed to 'output_class' (naming convention, we need to...
authorRoland Häder <roland@mxchange.org>
Tue, 24 Mar 2009 10:01:57 +0000 (10:01 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 24 Mar 2009 10:01:57 +0000 (10:01 +0000)
inc/classes/exceptions/main/class_FatalErrorException.php
inc/classes/main/class_BaseFrameworkSystem.php
inc/classes/middleware/debug/class_DebugMiddleware.php
inc/config.php

index c790d22..dc150f9 100644 (file)
@@ -30,7 +30,6 @@ class FatalErrorException extends FrameworkException {
         * @return      void
         */
        public function __construct ($message, $code) {
-               die($message);
                // Call parent constructor
                parent::__construct($message, $code);
        }
index 967db1a..b8f6306 100644 (file)
@@ -276,7 +276,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                        $this->setDebugInstance(DebugMiddleware::createDebugMiddleware($this->getConfigInstance()->readConfig('debug_class')));
 
                        // Get output instance and set it
-                       $outputInstance = ObjectFactory::createObjectByConfiguredName('web_engine', array($this->getConfigInstance()->readConfig('web_content_type')));
+                       $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this->getConfigInstance()->readConfig('web_content_type')));
                        $this->setWebOutputInstance($outputInstance);
 
                        // Set the compressor channel
index fb266b6..dec9b06 100644 (file)
@@ -106,7 +106,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
        public final function output ($outStream) {
                // Is the output stream set
                if (empty($outStream)) {
-                       // Initialization phase
+                       // @TODO Initialization phase
                        return;
                } // END - if
 
index d40149c..2dd258a 100644 (file)
@@ -108,7 +108,7 @@ $cfg->setConfigEntry('email_template_type', "emails");
 $cfg->setConfigEntry('code_template_type', "code");
 
 // CFG: WEB-ENGINE
-$cfg->setConfigEntry('web_engine', "WebOutput");
+$cfg->setConfigEntry('output_class', "WebOutput");
 
 // CFG: SELECTOR-TEMPLATE-PREFIX
 $cfg->setConfigEntry('tpl_selector_prefix', "selector");