From 5659532d6e1a8ef3df6760cfec0f9f94a3ad19e1 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 16 Jun 2011 07:23:26 -0700 Subject: [PATCH] Added application.index to configuration file. --- application/config/application.php | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/application/config/application.php b/application/config/application.php index adc39017..4cd11ae5 100644 --- a/application/config/application.php +++ b/application/config/application.php @@ -7,13 +7,25 @@ return array( | Application URL |-------------------------------------------------------------------------- | - | The URL used to access your application. The trailing slash is optional. - | - | Note: Remove "index.php" from this URL when using mod_rewrite. + | The URL used to access your application. Please include a trailing slash. | */ - 'url' => 'http://localhost/index.php', + 'url' => 'http://localhost/', + + /* + |-------------------------------------------------------------------------- + | Application Index + |-------------------------------------------------------------------------- + | + | If you are including the "index.php" in your URLs, you can ignore this. + | + | However, if you are using mod_rewrite or something similar to get + | cleaner URLs, set this option to an empty string. + | + */ + + 'index' => 'index.php', /* |--------------------------------------------------------------------------