From 8fdea943768b20193eede99d60313ee84511a0be Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 3 Jun 2025 08:39:48 +0200 Subject: [PATCH] Add globals into $hooks->executeFIlter --- system/src/Hook.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/src/Hook.php b/system/src/Hook.php index 161b2ffc..6acdf6ef 100644 --- a/system/src/Hook.php +++ b/system/src/Hook.php @@ -38,6 +38,8 @@ class Hook } public function executeFilter(&$args) { + global $db, $config, $template_path, $ots, $content, $twig; + return include BASE . $this->_file; }