From: Chad Horohoe Date: Tue, 26 Oct 2010 16:24:17 +0000 (+0000) Subject: Make way for move X-Git-Tag: 1.31.0-rc.0~34298 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=d509f0f1c06d7f6e4ffd712413db2033b6179561;p=lhc%2Fweb%2Fwiklou.git Make way for move --- diff --git a/config/index.php b/config/index.php deleted file mode 100644 index 32912a8cd9..0000000000 --- a/config/index.php +++ /dev/null @@ -1,47 +0,0 @@ -, 2006 Rob Church - * 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 - * - * @file - */ - -# 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" ); diff --git a/config/old-index.php b/config/old-index.php new file mode 100644 index 0000000000..32912a8cd9 --- /dev/null +++ b/config/old-index.php @@ -0,0 +1,47 @@ +, 2006 Rob Church + * 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 + * + * @file + */ + +# 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" );