]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/factories/html/class_HtmlNewsFactory.php
Continued:
[core.git] / framework / main / classes / factories / html / class_HtmlNewsFactory.php
index fb203701d8b751abbd32af64d283464b7a17bc64..da522134ef2a620be0cf5164184ea5e5c232af35 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Factory\News;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\BaseFactory;
 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
 use Org\Mxchange\CoreFramework\Request\Requestable;
@@ -70,7 +71,7 @@ class HtmlNewsFactory extends BaseFactory {
                } // END - if
 
                // Get the news reader class name from config
-               $className = $requestInstance->getConfigInstance()->getConfigEntry($configEntry);
+               $className = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry($configEntry);
 
                // Once we have that name, try to load initialize it
                $newsInstance = ObjectFactory::createObjectByName($className, array($requestInstance));