install/includes/stages/database.php
changeset 1378 e58294b867c1
parent 1227 bdac73ed481e
--- a/install/includes/stages/database.php	Wed Aug 21 22:34:54 2013 -0400
+++ b/install/includes/stages/database.php	Wed Aug 21 22:50:34 2013 -0400
@@ -27,7 +27,7 @@
 $pgsql_disable_reason = '';
 $mysql_disable = '';
 $pgsql_disable = '';
-if ( !function_exists('mysql_connect') )
+if ( !function_exists('mysql_connect') && !have_pdo("mysql") )
 {
 	$mysql_disable = ' disabled="disabled"';
 	$mysql_disable_reason = $lang->get('database_driver_err_no_mysql');