Sanity check mysql.
git-svn-id: https://develop.svn.wordpress.org/trunk@1955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
81d0e5f0e7
commit
4157281a2d
@ -16,6 +16,9 @@ if (! isset($_SERVER['REQUEST_URI'])) {
|
|||||||
if ( !(phpversion() >= '4.1') )
|
if ( !(phpversion() >= '4.1') )
|
||||||
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' );
|
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' );
|
||||||
|
|
||||||
|
if ( !extension_loaded('mysql') )
|
||||||
|
die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' );
|
||||||
|
|
||||||
function timer_start() {
|
function timer_start() {
|
||||||
global $timestart;
|
global $timestart;
|
||||||
$mtime = explode(' ', microtime() );
|
$mtime = explode(' ', microtime() );
|
||||||
|
Loading…
Reference in New Issue
Block a user