dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242d225
)
Fixed bug causing the script to quietly exit halfway through output(), if run on...
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 5 Jun 2004 04:22:53 +0000
(
04:22
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 5 Jun 2004 04:22:53 +0000
(
04:22
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
b2fb915
..
4f797d2
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-418,7
+418,11
@@
class OutputPage {
# Use real server name if available, so we know which machine
# in a server farm generated the current page.
- $uname = @posix_uname();
+ if ( function_exists( "posix_uname" ) ) {
+ $uname = @posix_uname();
+ } else {
+ $uname = false;
+ }
if( is_array( $uname ) && isset( $uname['nodename'] ) ) {
$hostname = $uname['nodename'];
} else {