From 8a40059070b154fa842fe6ed556deb3fa6e761ba Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 19 Nov 2006 01:06:08 +0000 Subject: [PATCH] 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 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index ada0b8b511..a9259023ac 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -49,7 +49,7 @@ if ( empty($PHP_SELF) ) if ( !(phpversion() >= '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.' ); function timer_start() {