From: Roland Häder Date: Mon, 9 Jun 2008 18:21:22 +0000 (+0000) Subject: ObjectFactory is now a 'system class' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b720aae73539d210c7bfd5c820b0646016456fd;p=shipsimu.git ObjectFactory is now a 'system class' --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 7fc55e2..bc9b5bb 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -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')));