commit | 928083406322821a35a7d8a4205620c3854772a6 | [log] [tgz] |
---|---|---|
author | Eric Barnes <eric@ericlbarnes.com> | Fri Mar 18 09:02:37 2011 -0400 |
committer | Eric Barnes <eric@ericlbarnes.com> | Fri Mar 18 09:02:37 2011 -0400 |
tree | eed53a5207649e137b82853bfb675896adbe795c | |
parent | bb458e3b9189af409d342623a9873397a1ac92c2 [diff] [blame] |
Fixed coding to match standards from previous releases
diff --git a/system/core/Hooks.php b/system/core/Hooks.php index e4f8cfa..b41c645 100644 --- a/system/core/Hooks.php +++ b/system/core/Hooks.php
@@ -67,13 +67,13 @@ 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)) {