mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user