Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Revert "PLATFORM-868: allow MW_INSTALL_PATH to control $IP in wikia-l…
Browse files Browse the repository at this point in the history
…and also"
  • Loading branch information
Maciej Brencz committed Feb 23, 2015
1 parent c44dcf2 commit 642d0e3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions LocalSettings.php
@@ -1,10 +1,4 @@
<?php

# Determine $IP using the same process as mediawika core
# We duplicate this code because some entry points do not go through webstart or maintenance
$IP = getenv( 'MW_INSTALL_PATH' );
if ( $IP === false ) {
$IP = realpath( __DIR__ );
}

$IP = __DIR__;
require __DIR__.'/../config/LocalSettings.php';

0 comments on commit 642d0e3

Please sign in to comment.