]> git.mxchange.org Git - shipsimu.git/commitdiff
ObjectFactory is now a 'system class'
authorRoland Häder <roland@mxchange.org>
Mon, 9 Jun 2008 18:21:22 +0000 (18:21 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 9 Jun 2008 18:21:22 +0000 (18:21 +0000)
inc/classes/main/class_BaseFrameworkSystem.php

index 7fc55e2c15eca048a3671490fdac1b2be611ffd9..bc9b5bbfabb9049acb9b1a6c451bfb2c9457e8b5 100644 (file)
@@ -171,6 +171,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                "Bzip2Compressor",                              // BZIP2 compressor
                "GzipCompressor",                               // GZIP compressor
                "WebOutput",                                    // Web output sub-system
+               "ObjectFactory",                                // Object factory
        );
 
        /**
@@ -296,7 +297,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                        } // END - if
 
                        // Initialize web instance
-                       if ((is_null($this->getWebOutputInstance())) && ($this->__toString() != "ObjectFactory")) {
+                       if (is_null($this->getWebOutputInstance())) {
                                // Call our object factory
                                $outputInstance = ObjectFactory::createObjectByConfiguredName('web_engine', array($this->getConfigInstance()->readConfig('web_content_type')));