"smart" prettyurls: pathinfo URLs are default ONLY if there is no .htaccess in your BLOG_ROOT; it is true that having a .htaccess in your root does not imply mod_rewrite is enabled: if that is the case you can anyway overridable as usual by setting true or false manually

This commit is contained in:
real_nowhereman 2009-02-11 15:31:33 +00:00
parent d46ac619b5
commit b0ee0cf01a

View File

@ -12,7 +12,7 @@ Author URI: http://www.nowhereland.it
* Place where the index is stored
*/
define('PRETTYURLS_TITLES', true);
define('PRETTYURLS_PATHINFO', true);
define('PRETTYURLS_PATHINFO', !file_exists(ABS_PATH . '.htaccess'));
define('PRETTYURLS_CACHE', CACHE_DIR . '%%prettyurls-index.tmp');
define('PRETTYURLS_CATS', CACHE_DIR . '%%prettyurls-cats.tmp');