Index: trunk/extensions/CentralAuth/CentralAuth.php |
— | — | @@ -54,10 +54,10 @@ |
55 | 55 | * For instance, '.wikipedia.org' to work on all wikipedia.org subdomains |
56 | 56 | * instead of just the current one. |
57 | 57 | * |
58 | | - * Leave false to set the cookie for the current domain only, such as if |
| 58 | + * Leave blank to set the cookie for the current domain only, such as if |
59 | 59 | * all your wikis are hosted on the same subdomain. |
60 | 60 | */ |
61 | | -$wgCentralAuthCookieDomain = false; |
| 61 | +$wgCentralAuthCookieDomain = ''; |
62 | 62 | |
63 | 63 | /** |
64 | 64 | * Prefix for CentralAuth global authentication cookies. |
Index: trunk/extensions/CentralAuth/CentralAuthHooks.php |
— | — | @@ -448,7 +448,7 @@ |
449 | 449 | */ |
450 | 450 | static function onUserSetCookies( $user, &$session, &$cookies ) { |
451 | 451 | global $wgCentralAuthCookies, $wgCentralAuthCookieDomain; |
452 | | - if ( !$wgCentralAuthCookies || $wgCentralAuthCookieDomain === false || $user->isAnon() ) { |
| 452 | + if ( !$wgCentralAuthCookies || $user->isAnon() ) { |
453 | 453 | return true; |
454 | 454 | } |
455 | 455 | $centralUser = CentralAuthUser::getInstance( $user ); |