mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 08:41:24 +01:00
This doesn't work with PHP running under suexec.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a6472cdafa
commit
2428727fa3
@ -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…
Reference in New Issue
Block a user