diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
commit | 9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch) | |
tree | 46d1a0dee7febef5c2d57a9f7b972be16a163b3d /config/index.php | |
parent | 78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff) |
update to MediaWiki 1.17.0
Diffstat (limited to 'config/index.php')
-rw-r--r-- | config/index.php | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/config/index.php b/config/index.php index d913bbb1..948fe69f 100644 --- a/config/index.php +++ b/config/index.php @@ -1,43 +1 @@ -<?php - -# MediaWiki web-based config/installation -# Copyright (C) 2004 Brion Vibber <brion@pobox.com>, 2006 Rob Church <robchur@gmail.com> -# http://www.mediawiki.org/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# http://www.gnu.org/copyleft/gpl.html - -# Attempt to set up the include path, to fix problems with relative includes -$IP = dirname( dirname( __FILE__ ) ); -define( 'MW_INSTALL_PATH', $IP ); - -# Define an entry point and include some files -define( "MEDIAWIKI", true ); -define( "MEDIAWIKI_INSTALL", true ); - -# Check for PHP 5 -if ( !function_exists( 'version_compare' ) - || version_compare( phpversion(), '5.0.0' ) < 0 -) { - define( 'MW_PHP4', '1' ); - require( "$IP/includes/DefaultSettings.php" ); - require( "$IP/includes/templates/PHP4.php" ); - exit; -} - -// Isolate the rest of the code so this file can die out cleanly -// if we find we're running under PHP 4.x... We use PHP 5 syntax -// which doesn't parse under 4. -require( dirname( __FILE__ ) . "/Installer.php" ); +<?php require( dirname( dirname( __FILE__ ) ) . '/mw-config/index.php' );
\ No newline at end of file |