# 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" );
<?php
-if( defined( "MEDIAWIKI" ) ) {
# $Id$
# DO NOT EDIT THIS FILE!
# like $wgScriptPath, you must also localize everything that
# depends on it.
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
+if( defined( "MEDIAWIKI" ) ) {
+
$wgVersion = '1.3.0+';
$wgSitename = 'MediaWiki'; # Please customize!
<?php
+
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( defined( "MEDIAWIKI" ) ) {
# This is a utility class with only static functions
<?php
+
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( defined( "MEDIAWIKI" ) ) {
# See design.doc
<?php
+
+# This file is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( defined( "MEDIAWIKI" ) ) {
# The main wiki script and things like database
<?php
+
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( defined( "MEDIAWIKI" ) ) {
# See skin.doc
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
+
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( defined( "MEDIAWIKI" ) ) {
require_once "GlobalFunctions.php";
global $IP;
die( "You'll have to <a href='config/index.php'>set the wiki up</a> 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" );