fix syntax
authorStricted <info@stricted.de>
Wed, 25 Dec 2013 16:38:25 +0000 (17:38 +0100)
committerStricted <info@stricted.de>
Wed, 25 Dec 2013 16:38:25 +0000 (17:38 +0100)
wcfsetup/install/files/lib/system/cache/CacheHandler.class.php

index 446d0a1c9eb488840f2373c848e61f6ed87c5c29..09c19e91a88f9ac162dfb67ca01fb235b4ae91a8 100644 (file)
@@ -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();