summaryrefslogtreecommitdiff
path: root/application/config/config.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-24 21:47:47 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-24 21:47:47 -0700
commita5f1ef48498937621cd0ce4d0344650af2c580ec (patch)
treefdc3b2fba8e66b49e923099f4162231061bed6be /application/config/config.php
parent7347d1e50db102142f1c82bfeb70734475f58195 (diff)
Add support for mod_rewrite in the .htaccess file. There are now
instructions for how to tweak RewriteBase correctly. Once that's done, index.php will automagically disappear. \o/
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 2d66d1c0..e88958ed 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -54,7 +54,7 @@ $config["site_protocol"] = "";
*
* This can be removed by using URL rewriting.
*/
-$config["index_page"] = "index.php";
+$config["index_page"] = isset($_GET["kohana_uri"]) ? "" : "index.php";
/**
* Fake file extension that will be added to all generated URLs. Example: .html