* adjust code for task #1794.

This commit is contained in:
wyd621
2014-03-06 06:09:14 +00:00
parent b159b7abb1
commit 6f17be1a6f
+1 -1
View File
@@ -372,7 +372,7 @@ class installModel extends model
}
/* Skip sql that is note. */
if(preg_match('/^--|^#|^\/\*/', $table)) continue;
if(strpos($table, '--') === 0) continue;
$table = str_replace('`zt_', $this->config->db->name . '.`zt_', $table);
$table = str_replace('zt_', $this->config->db->prefix, $table);