diff options
Diffstat (limited to 'caches/SQLiteCache.php')
-rw-r--r-- | caches/SQLiteCache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caches/SQLiteCache.php b/caches/SQLiteCache.php index 339e4119..1e44519b 100644 --- a/caches/SQLiteCache.php +++ b/caches/SQLiteCache.php @@ -22,7 +22,7 @@ class SQLiteCache implements CacheInterface $section = 'SQLiteCache'; $file = Configuration::getConfig($section, 'file'); - if (empty($file)) { + if (!$file) { throw new \Exception(sprintf('Configuration for %s missing.', $section)); } |