Fixed coding to match standards from previous releases
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index a851e3c..56e4c2a 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -60,7 +60,7 @@
// Load the mime types
if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT))
{
- @include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT);
+ include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT);
}
else
{
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index fb074e0..f4b48b4 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -354,13 +354,13 @@
{
if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT))
{
- @include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT);
+ include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT);
}
else
{
@include(APPPATH.'config/mimes'.EXT);
}
-
+
if ( ! is_array($mimes))
{
return FALSE;
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index c94c880..15c15a9 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -260,13 +260,13 @@
{
if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/doctypes'.EXT))
{
- @include(APPPATH.'config/'.ENVIRONMENT.'/doctypes'.EXT);
+ include(APPPATH.'config/'.ENVIRONMENT.'/doctypes'.EXT);
}
else
{
@include(APPPATH.'config/doctypes'.EXT);
}
-
+
if ( ! is_array($_doctypes))
{
return FALSE;
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
index 197bcb1..99f521f 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -373,7 +373,7 @@
if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/foreign_chars'.EXT))
{
- include APPPATH.'config/'.ENVIRONMENT.'/foreign_chars'.EXT;
+ include APPPATH.'config/'.ENVIRONMENT.'/foreign_chars'.EXT;
}
else
{