From 74850f0f360b5a44192981c8d5e9561d38230575 Mon Sep 17 00:00:00 2001 From: Stricted Date: Wed, 25 Dec 2013 17:38:25 +0100 Subject: [PATCH] fix syntax --- wcfsetup/install/files/lib/system/cache/CacheHandler.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cache/CacheHandler.class.php b/wcfsetup/install/files/lib/system/cache/CacheHandler.class.php index 446d0a1c9e..09c19e91a8 100644 --- a/wcfsetup/install/files/lib/system/cache/CacheHandler.class.php +++ b/wcfsetup/install/files/lib/system/cache/CacheHandler.class.php @@ -30,8 +30,9 @@ class CacheHandler extends SingletonFactory { // init cache source object try { $className = 'wcf\system\cache\source\\'.ucfirst(CACHE_SOURCE_TYPE).'CacheSource'; - if (class_exists($className)) + if (class_exists($className)) { $this->cacheSource = new $className(); + } else { // fallback to disk cache $this->cacheSource = new DiskCacheSource(); -- 2.20.1