diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-24 21:47:47 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-24 21:47:47 -0700 |
commit | a5f1ef48498937621cd0ce4d0344650af2c580ec (patch) | |
tree | fdc3b2fba8e66b49e923099f4162231061bed6be /application | |
parent | 7347d1e50db102142f1c82bfeb70734475f58195 (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')
-rw-r--r-- | application/config/config.php | 2 |
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 |