Code sync from ship-simu code (all class config entries must end with _class!)
[mailer.git] / inc / classes / main / factories / cache / class_CacheFactory.php
index 48f83383fe8b7e22213447c9b2cd645235b2fc47..e2cb7bce35571fc18604c469a8c6180758272f7a 100644 (file)
@@ -66,7 +66,7 @@ class CacheFactory extends BaseFactory {
         */
        public function createConfiguredCache () {
                // Read the config entry
-               $cacheType = $this->getConfigInstance()->readConfig("cache_type");
+               $cacheType = $this->getConfigInstance()->readConfig("cache_class");
 
                // And get a new instance
                $cacheInstance = ObjectFactory::createObjectByName($cacheType);