Index: trunk/extensions/CentralNotice/special/SpecialHideBanners.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | header( 'Content-Type: image/png' ); |
27 | 27 | header( 'Cache-Control: no-cache' ); |
28 | 28 | |
29 | | - readfile( dirname( __FILE__ ) . '/1x1.png' ); |
| 29 | + readfile( dirname( __FILE__ ) . '/../1x1.png' ); |
30 | 30 | } |
31 | 31 | |
32 | 32 | function setHideCookie() { |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | } else { |
38 | 38 | $cookieDomain = $wgNoticeCookieDomain; |
39 | 39 | } |
40 | | - // Hide banners for this domain |
41 | | - setcookie( 'hidesnmessage', '1', $exp, '/', $cookieDomain, $wgCookieSecure ); |
| 40 | + // Hide fundraising banners for this domain |
| 41 | + setcookie( 'centralnotice_fundraising', 'hide', $exp, '/', $cookieDomain, $wgCookieSecure ); |
42 | 42 | } |
43 | 43 | } |