mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Add globals into $hooks->executeFIlter
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user