From: Tim Starling Date: Fri, 30 Dec 2005 08:52:45 +0000 (+0000) Subject: arrrggh suppressed fatal X-Git-Tag: 1.6.0~844 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=93202880e160ce1168f552b385d59493bf0df3a5;p=lhc%2Fweb%2Fwiklou.git arrrggh suppressed fatal --- diff --git a/includes/Setup.php b/includes/Setup.php index 896ef07c69..1fdc3f82ad 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -88,8 +88,9 @@ wfProfileIn( $fname.'-misc1' ); $wgIP = false; # Load on demand $wgRequest = new WebRequest(); -$wguname = @posix_uname(); - +if ( function_exists( 'posix_uname' ) ) { + $wguname = posix_uname(); +} # Useful debug output if ( $wgCommandLineMode ) { # wfDebug( '"' . implode( '" "', $argv ) . '"' );