Commits

Eric Barnes committed ea5bcf5

Fixed coding to match standards from previous releases

  • Participants
  • Parent commits c2bf5d0

Comments (0)

Files changed (8)

File system/core/Hooks.php

 
 		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))
 		{

File system/core/Router.php

 		}
 
 		// 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
 		{

File system/helpers/download_helper.php

 		// 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
 		{

File system/helpers/file_helper.php

 		{
 			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;

File system/helpers/html_helper.php

 		{
 			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;

File system/helpers/text_helper.php

 
 		if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/foreign_chars'.EXT))
 		{
-		    include APPPATH.'config/'.ENVIRONMENT.'/foreign_chars'.EXT;
+			include APPPATH.'config/'.ENVIRONMENT.'/foreign_chars'.EXT;
 		}
 		else
 		{

File system/libraries/Upload.php

 	 */
 	public function do_upload($field = 'userfile')
 	{
-		
+
 	// Is $_FILES[$field] set? If not, no reason to continue.
 		if ( ! isset($_FILES[$field]))
 		{
 		{
 			if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT))
 			{
-			    $_mimes_path = APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT;
+				$_mimes_path = APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT;
 			}
 			else
 			{
 				$_mimes_path = APPPATH.'config/mimes'.EXT;
 			}
-			
+
 			if (@require($_mimes_path))
 			{
 				$this->mimes = $mimes;

File system/libraries/User_agent.php

 		{
 			$_ua_path = APPPATH.'config/user_agents'.EXT;
 		}
-	
+
 		if ( ! @include($_ua_path))
 		{
 			return FALSE;