From a4d35347327c1e9a464696d153ad6f2ec4510283 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 21 Sep 2006 17:21:57 +0000 Subject: --- system/application/config/config.php | 4 ++-- system/application/config/routes.php | 2 -- system/codeigniter/CodeIgniter.php | 6 ++++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'system') diff --git a/system/application/config/config.php b/system/application/config/config.php index e88abd9f9..eba2ec271 100644 --- a/system/application/config/config.php +++ b/system/application/config/config.php @@ -273,10 +273,10 @@ $config['global_xss_filtering'] = FALSE; | means you are prematurely outputing something to your browser. It could | even be a line of whitespace at the end of one of your scripts. For | compression to work, nothing can be sent before the output buffer is called -| by the output class. +| by the output class. Do not "echo" any values with compression enabled. | */ -$config['compress_output'] = TRUE; +$config['compress_output'] = FALSE; ?> \ No newline at end of file diff --git a/system/application/config/routes.php b/system/application/config/routes.php index b86cf9182..473704c6d 100644 --- a/system/application/config/routes.php +++ b/system/application/config/routes.php @@ -45,6 +45,4 @@ $route['scaffolding_trigger'] = ""; // Define your own routes below ------------------------------------------- - - ?> \ No newline at end of file diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 5146c807d..de1e91095 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php @@ -196,8 +196,10 @@ else { show_404(); } - - $CI->$method(); + + // Call the requested method. Any URI segments present (besides the class/function) + // will be passed to the method for convenience + call_user_func_array(array(&$CI, $method), array_slice($RTR->rsegments, 2)); } } -- cgit v1.2.3-24-g4f1b