Add globals into $hooks->executeFIlter

This commit is contained in:
slawkens 2025-06-03 08:39:48 +02:00
parent c961a1ebf8
commit 8fdea94376

View File

@ -38,6 +38,8 @@ class Hook
} }
public function executeFilter(&$args) { public function executeFilter(&$args) {
global $db, $config, $template_path, $ots, $content, $twig;
return include BASE . $this->_file; return include BASE . $this->_file;
} }