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:
27b66b8
)
all wikimedia servers return fully qualified domain name in `hostname`
author
Domas Mituzas
<midom@users.mediawiki.org>
Wed, 14 Jul 2004 06:23:10 +0000
(06:23 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Wed, 14 Jul 2004 06:23:10 +0000
(06:23 +0000)
there's no need of linux-specific -a flag. warnings--
maintenance/commandLine.inc
patch
|
blob
|
history
diff --git
a/maintenance/commandLine.inc
b/maintenance/commandLine.inc
index
dc895f1
..
aae1c7a
100644
(file)
--- a/
maintenance/commandLine.inc
+++ b/
maintenance/commandLine.inc
@@
-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 );