From cd2e8170d23f10142cf52b0aea26b9754cc4bdfc Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 12 Aug 2004 06:54:58 +0000 Subject: [PATCH] Ahh, so that's what that does --- img_auth.php | 2 ++ includes/DefaultSettings.php | 4 +++- includes/Namespace.php | 2 ++ includes/OutputPage.php | 2 ++ includes/Setup.php | 2 ++ includes/Skin.php | 2 ++ includes/SkinPHPTal.php | 2 ++ index.php | 2 ++ 8 files changed, 17 insertions(+), 1 deletion(-) diff --git a/img_auth.php b/img_auth.php index 02240ceea9..803ec15e57 100644 --- a/img_auth.php +++ b/img_auth.php @@ -5,7 +5,9 @@ # everyone to be able to access. Your server must support PATH_INFO, CGI-based configurations # generally don't. +# Valid web server entry point, enable includes define( "MEDIAWIKI", true ); + require_once( "./LocalSettings.php" ); require_once( "includes/Setup.php" ); diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5af479e1b6..a757a546bf 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1,5 +1,4 @@ set the wiki up first!" ); } +# Valid web server entry point, enable includes define( "MEDIAWIKI", true ); + require_once( "./includes/Defines.php" ); require_once( "./LocalSettings.php" ); require_once( "includes/Setup.php" ); -- 2.20.1