Fix build - explicit config key check

This commit is contained in:
Amit Snyderman
2013-09-05 17:30:28 -04:00
parent 60338e4956
commit 3e876fd984
+4 -1
View File
@@ -116,9 +116,12 @@ class Mustache_Engine
if (isset($options['cacher'])) {
$this->cache = $options['cacher'];
} else if (isset($options['cache'])) {
$cacheFileMode = isset($options['cache_file_mode'])
? $options['cache_file_mode']
: null;
$this->cache = new Mustache_Cache_FilesystemCache(
$options['cache'],
$options['cache_file_mode']
$cacheFileMode
);
}