Changes in trunk/wp-admin/setup-config.php [16788:18375]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/setup-config.php
r16788 r18375 5 5 * The permissions for the base directory must allow for writing files in order 6 6 * for the wp-config.php to be created using this page. 7 * 8 * @internal This file must be parsable by PHP4. 7 9 * 8 10 * @package WordPress … … 41 43 42 44 require_once(ABSPATH . WPINC . '/load.php'); 45 require_once(ABSPATH . WPINC . '/version.php'); 46 wp_check_php_mysql_versions(); 47 43 48 require_once(ABSPATH . WPINC . '/compat.php'); 44 49 require_once(ABSPATH . WPINC . '/functions.php'); 45 50 require_once(ABSPATH . WPINC . '/class-wp-error.php'); 46 require_once(ABSPATH . WPINC . '/version.php');47 51 48 52 if (!file_exists(ABSPATH . 'wp-config-sample.php')) … … 58 62 if (file_exists(ABSPATH . '../wp-config.php') && ! file_exists(ABSPATH . '../wp-settings.php')) 59 63 wp_die("<p>The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>.</p>"); 60 61 if ( version_compare( $required_php_version, phpversion(), '>' ) )62 wp_die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version %1$s but WordPress requires at least %2$s.'/*/WP_I18N_OLD_PHP*/, phpversion(), $required_php_version ) );63 64 if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') )65 wp_die( /*WP_I18N_OLD_MYSQL*/'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.'/*/WP_I18N_OLD_MYSQL*/ );66 64 67 65 if (isset($_GET['step']))
Note: See TracChangeset
for help on using the changeset viewer.