r98304 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98303‎ | r98304 | r98305 >
Date:12:57, 28 September 2011
Author:werdna
Status:old
Tags:
Comment:
Commit live hack to work with het deploy
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/SecurePoll/auth-api.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/SecurePoll/auth-api.php
@@ -1,4 +1,6 @@
22 <?php
 3+// FIXME AWFUL HACK
 4+require( "/usr/local/apache/common-local/multiversion/MWVersion.php" );
35
46 $IP = getenv( 'MW_INSTALL_PATH' );
57 if ( strval( $IP ) === '' ) {
@@ -9,7 +11,7 @@
1012 }
1113 chdir( $IP );
1214
13 -require( "$IP/includes/WebStart.php" );
 15+require( getMediaWiki("includes/WebStart.php") );
1416
1517 if ( !class_exists( 'SecurePoll_RemoteMWAuth' ) ) {
1618 header( 'HTTP/1.1 500 Internal Server Error' );

Status & tagging log