Don't enforce presence of mysql system if custom DB class is being used. Props Nazgul. fixes #3293

git-svn-id: http://svn.automattic.com/wordpress/trunk@4489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-11-19 01:06:08 +00:00
parent 422b5cd65c
commit 172bfb801f
1 changed files with 1 additions and 1 deletions

View File

@ -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() {