summaryrefslogtreecommitdiffstats
path: root/system/core/Hooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Hooks.php')
-rw-r--r--system/core/Hooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php
index e4f8cfa53..b41c645ae 100644
--- a/system/core/Hooks.php
+++ b/system/core/Hooks.php
@@ -67,13 +67,13 @@ class CI_Hooks {
if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/hooks'.EXT))
{
- @include(APPPATH.'config/'.ENVIRONMENT.'/hooks'.EXT);
+ include(APPPATH.'config/'.ENVIRONMENT.'/hooks'.EXT);
}
else
{
@include(APPPATH.'config/hooks'.EXT);
}
-
+
if ( ! isset($hook) OR ! is_array($hook))
{