Don't enforce presence of mysql system if custom DB class is being used. Props Nazgul. fixes #3293
git-svn-id: https://develop.svn.wordpress.org/trunk@4489 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
45984c58eb
commit
8a40059070
@ -49,7 +49,7 @@ if ( empty($PHP_SELF) )
|
|||||||
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') )
|
if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') )
|
||||||
die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' );
|
die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' );
|
||||||
|
|
||||||
function timer_start() {
|
function timer_start() {
|
||||||
|
Loading…
Reference in New Issue
Block a user