# HG changeset patch # User Charlie Root # Date 1768764354 18000 # Node ID 6e8e57ef139f12a6b70990edc15a77b1dde77401 # Parent c32b53434b47c4d32faafc3f9260a5498b37cdfc# Parent c4ade3f35fb20dbe2763a835e41835d0e4164245 merge diff -r c32b53434b47 -r 6e8e57ef139f program/include/rcmail_install.php --- a/program/include/rcmail_install.php Sun Jan 18 14:20:29 2026 -0500 +++ b/program/include/rcmail_install.php Sun Jan 18 14:25:54 2026 -0500 @@ -451,18 +451,21 @@ $engine = $db->db_provider; $db_schema = $this->db_read_schema(INSTALL_PATH . "SQL/$engine.initial.sql"); $errors = array(); - + echo "
engin: $engine
"; // check list of tables $existing_tables = $db->list_tables(); foreach ($db_schema as $table => $cols) { + + $table = $this->config['db_prefix'] . $table; - + if (!in_array($table, $existing_tables)) { $errors[] = "Missing table '".$table."'"; } else { // compare cols $db_cols = $db->list_cols($table); + echo "table: $table, cols: ".print_r($cols,TRUE)."\ndb_cols:".print_r($db_cols,TRUE)."
"; $diff = array_diff(array_keys($cols), $db_cols); if (!empty($diff)) {