From 801014deffb9bfba03bf65e185361904a23ff399 Mon Sep 17 00:00:00 2001 From: David Beniamine Date: Tue, 15 Feb 2022 16:56:56 +0100 Subject: [PATCH] Declare config as a global variable so it is not ignored --- PicoZCache.php | 1 + 1 file changed, 1 insertion(+) 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 '/'