diff -r 299a90e28abc -r 87e08a6e4fec install/includes/stages/database.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/install/includes/stages/database.php Wed Jan 16 13:55:49 2008 -0500 @@ -0,0 +1,110 @@ +' . $lang->get('database_driver_heading') . ''; +echo '

' . $lang->get('database_driver_intro') . '

'; +if ( @file_exists('/etc/enano-is-virt-appliance') ) +{ + echo '

' . $lang->get('database_driver_msg_virt_appliance') . '

'; +} + +$mysql_disable_reason = ''; +$pgsql_disable_reason = ''; +$mysql_disable = ''; +$pgsql_disable = ''; +if ( !function_exists('mysql_connect') ) +{ + $mysql_disable = ' disabled="disabled"'; + $mysql_disable_reason = $lang->get('database_driver_err_no_mysql'); +} +if ( !function_exists('pg_connect') ) +{ + $pgsql_disable = ' disabled="disabled"'; + $pgsql_disable_reason = $lang->get('database_driver_err_no_pgsql'); +} + +echo '
'; +echo ''; +?> + + + + > + get('database_driver_mysql'); ?>
+ get('database_driver_mysql_intro'); ?> +
$mysql_disable_reason"; + } + ?> + +
+ + + > + get('database_driver_pgsql'); ?>
+ get('database_driver_pgsql_intro'); ?> +
$pgsql_disable_reason"; + } + ?> + +
+
+ + /> + + + +
+ + /> + + + +
+ + + + '; +} + +echo '
';