mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-07 13:24:29 +02:00
Add globals into $hooks->executeFIlter
This commit is contained in:
parent
c961a1ebf8
commit
8fdea94376
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user