From ebb6f4bf664747d3649d622b98abc78f2da397f7 Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Wed, 10 Nov 2010 17:09:21 -0500 Subject: Some simple tweaking --- system/core/CodeIgniter.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system/core/CodeIgniter.php') diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index fc334f050..595e00f27 100644 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php @@ -221,7 +221,7 @@ // If this include fails it means that the default controller in the Routes.php file is not resolving to something valid. if ( ! file_exists(APPPATH.'controllers/'.$RTR->fetch_directory().$RTR->fetch_class().EXT)) { - show_error('Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.'); + show_error('Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.'); } include(APPPATH.'controllers/'.$RTR->fetch_directory().$RTR->fetch_class().EXT); @@ -242,7 +242,6 @@ $method = $RTR->fetch_method(); if ( ! class_exists($class) - OR $method == 'controller' OR strncmp($method, '_', 1) == 0 OR in_array(strtolower($method), array_map('strtolower', get_class_methods('CI_Controller'))) ) -- cgit v1.2.3-24-g4f1b