From b2d0c45bcde916230c545bde228fe3a7c55c0356 Mon Sep 17 00:00:00 2001 From: Bournwog Date: Thu, 16 Feb 2023 12:08:32 +0300 Subject: [PATCH] Update CoreTools.php --- core/components/pdotools/src/CoreTools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/components/pdotools/src/CoreTools.php b/core/components/pdotools/src/CoreTools.php index 50fd7a23..187e5f74 100644 --- a/core/components/pdotools/src/CoreTools.php +++ b/core/components/pdotools/src/CoreTools.php @@ -83,7 +83,7 @@ public function setConfig(array $config = [], bool $clean_timings = true) 'fenomSyntax' => $this->modx->getOption('pdotools_fenom_syntax', null, '#\{(\$|\/|\w+(\s|\(|\|)|\(|\')#', true), ], $config); $this->config['elementsPath'] = $this->modx->getOption('pdotools_elements_path', null, MODX_CORE_PATH . 'elements/', true); - $this->config['cachePath'] = MODX_CORE_PATH . 'cache/pdotools'; + $this->config['cachePath'] = $this->modx->getOption('pdotools_cache_path', null, MODX_CORE_PATH . 'cache/pdotools', true) if ($clean_timings) { $this->timings = [];