Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
|
||||
function got_mod_rewrite() {
|
||||
return apache_mod_loaded('mod_rewrite');
|
||||
$got_rewrite = apache_mod_loaded('mod_rewrite', true);
|
||||
return apply_filters('got_rewrite', $got_rewrite);
|
||||
}
|
||||
|
||||
// Returns an array of strings from a file (.htaccess ) from between BEGIN
|
||||
|
||||
Reference in New Issue
Block a user