Changeset 27557
- Timestamp:
- 03/15/2014 06:16:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r27335 r27557 105 105 if ( version_compare( $required_php_version, $php_version, '>' ) ) { 106 106 wp_load_translations_early(); 107 header( 'Content-Type: text/html; charset=utf-8' ); 107 108 die( sprintf( __( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.' ), $php_version, $wp_version, $required_php_version ) ); 108 109 } … … 110 111 if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) { 111 112 wp_load_translations_early(); 113 header( 'Content-Type: text/html; charset=utf-8' ); 112 114 die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) ); 113 115 }
Note: See TracChangeset
for help on using the changeset viewer.