From 2515cb17be18da4aee32167259ee75fdc7a5a56b Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 11 Feb 2015 01:10:03 +0100 Subject: Support pretty URLs This changeset allows ownCloud to run with pretty URLs, they will be used if mod_rewrite and mod_env are available. This means basically that the `index.php` in the URL is not shown to the user anymore. Also the not deprecated functions to generate URLs have been modified to support this behaviour, old functions such as `filePath` will still behave as before for compatibility reasons. Examples: http://localhost/owncloud/index.php/s/AIDyKbxiRZWAAjP => http://localhost/owncloud/s/AIDyKbxiRZWAAjP http://localhost/owncloud/index.php/apps/files/ => http://localhost/owncloud/apps/files/ Due to the way our CSS and JS is structured the .htaccess uses some hacks for the final result but could be worse... And I was just annoyed by all that users crying for the removal of `index.php` ;-) --- config/config.sample.php | 1 - 1 file changed, 1 deletion(-) (limited to 'config') diff --git a/config/config.sample.php b/config/config.sample.php index 02e5aba3e94..034a1ebddbf 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -213,7 +213,6 @@ $CONFIG = array( ) ), - /** * Mail Parameters * -- cgit v1.2.3