install/includes/stages/database.php
changeset 1378 e58294b867c1
parent 1227 bdac73ed481e
equal deleted inserted replaced
1377:fa2b0825bbc5 1378:e58294b867c1
    25 
    25 
    26 $mysql_disable_reason = '';
    26 $mysql_disable_reason = '';
    27 $pgsql_disable_reason = '';
    27 $pgsql_disable_reason = '';
    28 $mysql_disable = '';
    28 $mysql_disable = '';
    29 $pgsql_disable = '';
    29 $pgsql_disable = '';
    30 if ( !function_exists('mysql_connect') )
    30 if ( !function_exists('mysql_connect') && !have_pdo("mysql") )
    31 {
    31 {
    32 	$mysql_disable = ' disabled="disabled"';
    32 	$mysql_disable = ' disabled="disabled"';
    33 	$mysql_disable_reason = $lang->get('database_driver_err_no_mysql');
    33 	$mysql_disable_reason = $lang->get('database_driver_err_no_mysql');
    34 }
    34 }
    35 if ( !function_exists('pg_connect') )
    35 if ( !function_exists('pg_connect') )