diff --git a/PicoZCache.php b/PicoZCache.php index 71e9a7d..57d46e7 100644 --- a/PicoZCache.php +++ b/PicoZCache.php @@ -22,6 +22,7 @@ class PicoZCache extends AbstractPicoPlugin public function onConfigLoaded(array &$settings) { + global $config; if (isset($config['cache_dir'])) { // ensure cache_dir ends with '/'