This doesn't work with PHP running under suexec.
git-svn-id: https://develop.svn.wordpress.org/trunk@3124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e78ac5ae6
commit
3c5bb8ee03
@ -984,14 +984,6 @@ function got_mod_rewrite() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( function_exists('ob_get_clean') ) {
|
||||
ob_start();
|
||||
phpinfo(INFO_MODULES);
|
||||
$php_modules = ob_get_clean();
|
||||
if ( strpos($php_modules, 'mod_rewrite') === false)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user