summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-03-18 14:02:37 +0100
committerEric Barnes <eric@ericlbarnes.com>2011-03-18 14:02:37 +0100
commit928083406322821a35a7d8a4205620c3854772a6 (patch)
treeeed53a5207649e137b82853bfb675896adbe795c /system/core
parentbb458e3b9189af409d342623a9873397a1ac92c2 (diff)
Fixed coding to match standards from previous releases
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Hooks.php4
-rw-r--r--system/core/Router.php4
2 files changed, 4 insertions, 4 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))
{
diff --git a/system/core/Router.php b/system/core/Router.php
index 005e81748..bd363da71 100644
--- a/system/core/Router.php
+++ b/system/core/Router.php
@@ -87,10 +87,10 @@ class CI_Router {
}
// Load the routes.php file.
-
+
if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/routes'.EXT))
{
- @include(APPPATH.'config/'.ENVIRONMENT.'/routes'.EXT);
+ include(APPPATH.'config/'.ENVIRONMENT.'/routes'.EXT);
}
else
{