Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-01-19 16:49:46 +00:00
parent d4dd0fe211
commit 3c278d6421
1 changed files with 3 additions and 0 deletions

View File

@ -149,6 +149,9 @@ function save_mod_rewrite_rules() {
* @return bool True if web.config was updated successfully
*/
function iis7_save_url_rewrite_rules(){
if ( is_multisite() )
return;
global $wp_rewrite;
$home_path = get_home_path();