@ -1287,19 +1287,28 @@ function db_connect ($ignore_errors = false) {
$error_text .= "<p/>DEBUG INFORMATION:<br/>MySQL 3.x / 4.0 functions not available! (php5-mysql installed?)<br/>database_type = 'mysql' in config.inc.php, are you using a different database? $DEBUG_TEXT";
$error_text .= "<p/>DEBUG INFORMATION:<br/>MySQL 3.x / 4.0 functions not available! (php5-mysql installed?)<br/>database_type = 'mysql' in config.inc.php, are you using a different database? $DEBUG_TEXT";
$error_text .= "<p/>DEBUG INFORMATION:<br/>MySQLi 5 functions not available! (php5-mysqli installed?)<br/>database_type = 'mysqli' in config.inc.php, are you using a different database? $DEBUG_TEXT";
$error_text .= "<p/>DEBUG INFORMATION:<br/>MySQL 4.1 functions not available! (php5-mysqli installed?)<br/>database_type = 'mysqli' in config.inc.php, are you using a different database? $DEBUG_TEXT";
$error_text .= "<p/>DEBUG INFORMATION:<br/>MySQLi functions not available! (php5-mysqli installed?)<br/>database_type = 'mysqli' in config.inc.php, are you using a different database? $DEBUG_TEXT";
}
} elseif (db_sqlite()) {
} elseif (db_sqlite()) {
if (class_exists ("SQLite3")) {
if (class_exists ("SQLite3")) {
if ($CONF['database_name'] == '' || !is_dir(dirname($CONF['database_name'])) || !is_writable(dirname($CONF['database_name']))) {
if ($CONF['database_name'] == '' || !is_dir(dirname($CONF['database_name'])) || !is_writable(dirname($CONF['database_name']))) {