install/includes/stages/sysreqs.php
changeset 1379 5cbd678df965
parent 1310 41ac3758ba79
--- a/install/includes/stages/sysreqs.php	Wed Aug 21 22:50:34 2013 -0400
+++ b/install/includes/stages/sysreqs.php	Wed Aug 21 23:11:58 2013 -0400
@@ -81,12 +81,12 @@
 }
 
 // Test: MySQL
-$req_mysql = function_exists('mysql_connect');
+$req_mysql = function_exists('mysql_connect') || have_pdo('mysql');
 if ( $req_mysql )
 	$have_dbms = true;
 
 // Test: PostgreSQL
-$req_pgsql = function_exists('pg_connect');
+$req_pgsql = function_exists('pg_connect') || have_pdo('postgresql');
 if ( $req_pgsql )
 	$have_dbms = true;