r99324 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99323‎ | r99324 | r99325 >
Date:20:50, 8 October 2011
Author:reedy
Status:deferred
Tags:
Comment:
Revert r84650

Bring code somewhat upto date
Modified paths:
  • /trunk/extensions/WebStore/WebStoreStart.php (added) (history)

Diff [purge]

Index: trunk/extensions/WebStore/WebStoreStart.php
@@ -0,0 +1,27 @@
 2+<?php
 3+
 4+/**
 5+ * WebStore startup file
 6+ */
 7+
 8+
 9+$IP = getenv( 'MW_INSTALL_PATH' );
 10+if ( $IP === false ) {
 11+ $IP = dirname( __FILE__ ) . '/../..';
 12+}
 13+require( "$IP/includes/WebStart.php" );
 14+
 15+if ( !defined( 'MW_WEBSTORE_ENABLED' ) ) {
 16+ echo <<<EOT
 17+<html><body>
 18+<p>The WebStore extension is disabled. Enable WebStore by putting:</p>
 19+
 20+<pre>require( "\$IP/extensions/WebStore.php" );</pre>
 21+
 22+<p>in your LocalSettings.php</p>
 23+</body></html>
 24+EOT;
 25+ exit( 1 );
 26+}
 27+
 28+
Property changes on: trunk/extensions/WebStore/WebStoreStart.php
___________________________________________________________________
Added: svn:eol-style
129 + native

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84650Delete daft WebStoreStart.php filereedy00:35, 24 March 2011

Status & tagging log