]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/factories/cache/class_CacheFactory.php
Continued:
[core.git] / framework / main / classes / factories / cache / class_CacheFactory.php
index 8434765384a1233468a043b18d3fe4088a20d8b8..45877c4d9b4096aecbdc9800887ba9d6ee7ebb2d 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Factory\Cache;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\BaseFactory;
 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
 
@@ -67,7 +68,7 @@ class CacheFactory extends BaseFactory {
         */
        public function createConfiguredCache () {
                // Read the config entry
-               $cacheType = $this->getConfigInstance()->getConfigEntry('cache_class');
+               $cacheType = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('cache_class');
 
                // And get a new instance
                $cacheInstance = ObjectFactory::createObjectByName($cacheType);