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))
{
diff --git a/system/core/Router.php b/system/core/Router.php
index 005e817..bd363da 100644
--- a/system/core/Router.php
+++ b/system/core/Router.php
@@ -87,10 +87,10 @@
}
// 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
{