equal
deleted
inserted
replaced
79 $warnings[] = $lang->get('sysreqs_req_help_safemode'); |
79 $warnings[] = $lang->get('sysreqs_req_help_safemode'); |
80 $failed = true; |
80 $failed = true; |
81 } |
81 } |
82 |
82 |
83 // Test: MySQL |
83 // Test: MySQL |
84 $req_mysql = function_exists('mysql_connect'); |
84 $req_mysql = function_exists('mysql_connect') || have_pdo('mysql'); |
85 if ( $req_mysql ) |
85 if ( $req_mysql ) |
86 $have_dbms = true; |
86 $have_dbms = true; |
87 |
87 |
88 // Test: PostgreSQL |
88 // Test: PostgreSQL |
89 $req_pgsql = function_exists('pg_connect'); |
89 $req_pgsql = function_exists('pg_connect') || have_pdo('postgresql'); |
90 if ( $req_pgsql ) |
90 if ( $req_pgsql ) |
91 $have_dbms = true; |
91 $have_dbms = true; |
92 |
92 |
93 if ( !$have_dbms ) |
93 if ( !$have_dbms ) |
94 $failed = true; |
94 $failed = true; |