Index: trunk/extensions/WebStore/WebStore.php |
— | — | @@ -5,12 +5,12 @@ |
6 | 6 | * Set this in LocalSettings.php to an array of IP ranges allowed to access |
7 | 7 | * the store. Empty by default for maximum security. |
8 | 8 | */ |
9 | | - 'accessRanges' => array( '127.0.0.1' ), |
| 9 | + 'accessRanges' => array( '127.0.0.1', '::1' ), |
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Access ranges for inplace-scaler.php |
13 | 13 | */ |
14 | | - 'scalerAccessRanges' => array( '127.0.0.1' ), |
| 14 | + 'scalerAccessRanges' => array( '127.0.0.1', '::1' ), |
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Main public directory. If false, uses $wgUploadDirectory |
Index: trunk/extensions/WebStore/WebStoreCommon.php |
— | — | @@ -86,6 +86,7 @@ |
87 | 87 | global $wgLogo; |
88 | 88 | $msgText = htmlspecialchars( wfMsgReal( $msgName, $msgParams ) ); |
89 | 89 | $encMsgName = htmlspecialchars( $msgName ); |
| 90 | + wfDebug( "WebStore failed with '$encMsgName: $msgText; additional info: $extra'\n" ); |
90 | 91 | $info = self::$httpErrors[$code]; |
91 | 92 | $logo = htmlspecialchars( $wgLogo ); |
92 | 93 | header( "HTTP/1.1 $code $info" ); |