diff --git a/system/hooks.php b/system/hooks.php index ae9333c5..3e9a738f 100644 --- a/system/hooks.php +++ b/system/hooks.php @@ -74,9 +74,7 @@ class Hook }*/ global $db, $config, $template_path, $ots, $content, $twig; - if(file_exists(BASE . $this->_file)) { - $ret = require BASE . $this->_file; - } + $ret = include BASE . $this->_file; return !isset($ret) || $ret == 1 || $ret; }