From 92f124461f5a8f60624a5ac2a3fdb86ae09b1866 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 12 Aug 2004 02:51:26 +0000 Subject: [PATCH] Add warning about register_globals. "It's for your own good." --- config/index.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/index.php b/config/index.php index c07a1016b8..69fd27eb85 100644 --- a/config/index.php +++ b/config/index.php @@ -200,6 +200,16 @@ if( version_compare( phpversion(), "5.0", "lt" ) ) { } print "\n"; +if( ini_get( "register_globals" ) ) { + ?> +
  • Warning: PHP's + register_globals + option is enabled. MediaWiki will work correctly, but this setting + increases your exposure to potential security vulnerabilities in PHP-based + software running on your server. You should disable it if you are able.
  • +
  • Warning: PHP's -- 2.20.1