# HG changeset patch # User Henry S. Thompson # Date 1765394011 0 # Node ID c4ade3f35fb20dbe2763a835e41835d0e4164245 # Parent bea5a38be9389aaca0bfe7e26a581c889a2299bb colourise? diff -r bea5a38be938 -r c4ade3f35fb2 program/include/rcmail_install.php --- a/program/include/rcmail_install.php Sat Oct 18 12:24:31 2025 -0400 +++ b/program/include/rcmail_install.php Wed Dec 10 19:13:31 2025 +0000 @@ -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)) {