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:
0147447
)
Double-check at runtime that sitename is set. Paranoia is good... if we don't do...
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 29 Feb 2004 08:06:49 +0000
(08:06 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 29 Feb 2004 08:06:49 +0000
(08:06 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
3458096
..
1c2a531
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-7,6
+7,10
@@
unset( $IP );
ini_set( "allow_url_fopen", 0 ); # For security...
include_once( "./LocalSettings.php" );
+if( $wgSitename == "MediaWiki" ) {
+ die( "You must set the site name in \$wgSitename before installation.\n\n" );
+}
+
# Windows requires ';' as separator, ':' for Unix
$sep = strchr( $include_path = ini_get( "include_path" ), ";" ) ? ";" : ":";
ini_set( "include_path", "$IP$sep$include_path" );