all wikimedia servers return fully qualified domain name in hostname
there's no need of linux-specific -a flag. warnings--
This commit is contained in:
parent
27b66b8a2a
commit
a8bdd044ad
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ $wgCommandLineMode = true;
|
|||
@ob_end_flush();
|
||||
$sep = strchr( $include_path = ini_get( "include_path" ), ";" ) ? ";" : ":";
|
||||
|
||||
if ( $sep == ":" && strpos( `hostname -a`, "wikimedia.org" ) !== false ) {
|
||||
if ( $sep == ":" && strpos( `hostname`, "wikimedia.org" ) !== false ) {
|
||||
$wgWikiFarm = true;
|
||||
if ( isset( $args[0] ) ) {
|
||||
$lang = array_shift( $args );
|
||||
|
|
|
|||
Loading…
Reference in a new issue