# Please don't move this line to includes/Defines.php. This line essentially defines
authorArne Heizmann <timwi@users.mediawiki.org>
Sat, 14 Aug 2004 20:33:01 +0000 (20:33 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Sat, 14 Aug 2004 20:33:01 +0000 (20:33 +0000)
# 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.

index.php

index f98b557..b22c63b 100644 (file)
--- a/index.php
+++ b/index.php
@@ -10,9 +10,10 @@ if(!file_exists("LocalSettings.php")) {
        die( "You'll have to <a href='config/index.php'>set the wiki up</a> 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" );