Index: branches/wmf/1.17wmf1/extensions/SecurePoll/auth-api.php |
— | — | @@ -1,4 +1,6 @@ |
2 | 2 | <?php |
| 3 | +// FIXME AWFUL HACK |
| 4 | +require( "/usr/local/apache/common-local/multiversion/MWVersion.php" ); |
3 | 5 | |
4 | 6 | $IP = getenv( 'MW_INSTALL_PATH' ); |
5 | 7 | if ( strval( $IP ) === '' ) { |
— | — | @@ -9,7 +11,7 @@ |
10 | 12 | } |
11 | 13 | chdir( $IP ); |
12 | 14 | |
13 | | -require( "$IP/includes/WebStart.php" ); |
| 15 | +require( getMediaWiki("includes/WebStart.php") ); |
14 | 16 | |
15 | 17 | if ( !class_exists( 'SecurePoll_RemoteMWAuth' ) ) { |
16 | 18 | header( 'HTTP/1.1 500 Internal Server Error' ); |