From 25d66ab5d4f2d16261ca6b0df08fcc29be0a2f0b Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Sun, 24 Apr 2005 01:23:38 +0000 Subject: [PATCH] initialize $wgUploadNavigationUrl as false to avoid register_globals exploits --- includes/DefaultSettings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 0fe482d58b..f75eaac093 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -138,12 +138,14 @@ $wgSharedUploadDirectory = "/var/www/wiki3/images"; $wgSharedUploadDBname = false; /** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */ $wgCacheSharedUploads = true; + /** * Point the upload navigation link to an external URL * Useful if you want to use a shared repository by default * without disabling local uploads + * e.g. $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload'; */ -# $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload'; +$wgUploadNavigationUrl = false; /** * Give a path here to use thumb.php for thumbnail generation on client request, instead of -- 2.20.1