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:
Matt Mullenweg 2005-11-17 02:50:14 +00:00
parent 3e78ac5ae6
commit 3c5bb8ee03
1 changed files with 0 additions and 8 deletions

View File

@ -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;
}