From: Stricted Date: Wed, 25 Dec 2013 16:38:25 +0000 (+0100) Subject: fix syntax X-Git-Tag: 2.0.1~8^2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74850f0f360b5a44192981c8d5e9561d38230575;p=GitHub%2FWoltLab%2FWCF.git fix syntax --- 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();