From: Arne Heizmann Date: Sat, 14 Aug 2004 20:33:01 +0000 (+0000) Subject: # Please don't move this line to includes/Defines.php. This line essentially defines X-Git-Tag: 1.5.0alpha1~2352 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=74573405b15cfecc6182eaa1ea9466e054b810e8;p=lhc%2Fweb%2Fwiklou.git # Please don't move this line to includes/Defines.php. This line essentially defines # a valid entry point. If you put it in includes/Defines.php, then any script that includes # it becomes an entry point, thereby defeating its purpose. --- diff --git a/index.php b/index.php index f98b557b70..b22c63b65d 100644 --- a/index.php +++ b/index.php @@ -10,9 +10,10 @@ if(!file_exists("LocalSettings.php")) { die( "You'll have to set the wiki up first!" ); } -# Valid web server entry point, enable includes -# The define must not be in ./includes/Defines.php because non valid entry -# points can includes it. +# Valid web server entry point, enable includes. +# Please don't move this line to includes/Defines.php. This line essentially defines +# a valid entry point. If you put it in includes/Defines.php, then any script that includes +# it becomes an entry point, thereby defeating its purpose. define( "MEDIAWIKI", true ); require_once( "./includes/Defines.php" );