Index: trunk/tools/codereview-proxy/index.php |
— | — | @@ -4,9 +4,10 @@ |
5 | 5 | // Wikimedia's web servers currently don't have direct access to our |
6 | 6 | // Subversion server, which is in a separate data center. |
7 | 7 | |
| 8 | +ini_set( 'display_errors', false); |
| 9 | +header('Content-type: application/x-json'); |
| 10 | + |
8 | 11 | $data = runAction( "http://svn.wikimedia.org/svnroot/mediawiki" ); |
9 | | - |
10 | | -header('Content-type: application/x-json'); |
11 | 12 | echo json_encode( $data ); |
12 | 13 | |
13 | 14 | function inputStr( $key, $default=null ) { |