From: Brion Vibber Date: Thu, 12 Aug 2004 02:51:26 +0000 (+0000) Subject: Add warning about register_globals. "It's for your own good." X-Git-Tag: 1.5.0alpha1~2406 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=92f124461f5a8f60624a5ac2a3fdb86ae09b1866;p=lhc%2Fweb%2Fwiklou.git Add warning about register_globals. "It's for your own good." --- 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