Make WordPress Core

Ticket #9474: 9474.diff

File 9474.diff, 873 bytes (added by Denis-de-Bernardy, 15 years ago)
  • Users/denis/Sites/sem-pro/wp-admin/setup-config.php

    4646if (file_exists('../../wp-config.php') && ! file_exists('../../wp-settings.php'))
    4747        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>");
     49if ( !extension_loaded('mysql') && !file_exists(WP_CONTENT_DIR . '/db.php') )
     50        wp_die('Your PHP installation appears to be missing the MySQL extension which is required by WordPress.');
    4952if (isset($_GET['step']))
    5053        $step = $_GET['step'];