r13425 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13424‎ | r13425 | r13426 >
Date:04:13, 2 April 2006
Author:brion
Status:old
Tags:
Comment:
Live fix: set $wgNodeName
Modified paths:
  • /trunk/phase3/includes/Setup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Setup.php
@@ -79,7 +79,11 @@
8080 $wgRequest = new WebRequest();
8181 if ( function_exists( 'posix_uname' ) ) {
8282 $wguname = posix_uname();
 83+ $wgNodeName = $wguname['nodename'];
 84+} else {
 85+ $wgNodeName = '';
8386 }
 87+
8488 # Useful debug output
8589 if ( $wgCommandLineMode ) {
8690 # wfDebug( '"' . implode( '" "', $argv ) . '"' );

Status & tagging log