* (bug 7545) Fix PHP version check on install
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 11 Oct 2006 18:22:45 +0000 (18:22 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 11 Oct 2006 18:22:45 +0000 (18:22 +0000)
RELEASE-NOTES
config/index.php

index 92b9e42..104bb17 100644 (file)
@@ -32,6 +32,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   screen sizes, for the default monobook skin.
 * Fix PHP notice and estimates for dumpBackup.php and friends
 * Improved register_globals paranoia checks
+* (bug 7545) Fix PHP version check on install
 
 
 == Languages updated ==
index c74d2bd..5443614 100644 (file)
@@ -37,6 +37,12 @@ if( !ini_set( "include_path", ".$sep$IP$sep$IP/includes$sep$IP/languages" ) ) {
 # Define an entry point and include some files
 define( "MEDIAWIKI", true );
 define( "MEDIAWIKI_INSTALL", true );
+
+// Run version checks before including other files
+// so people don't see a scary parse error.
+require_once( "install-utils.inc" );
+install_version_checks();
+
 require_once( "includes/Defines.php" );
 require_once( "includes/DefaultSettings.php" );
 require_once( "includes/MagicWord.php" );