From 6f17be1a6f48fbc83d109409e2c4bcf583fdcf80 Mon Sep 17 00:00:00 2001 From: wyd621 Date: Thu, 6 Mar 2014 06:09:14 +0000 Subject: [PATCH] * adjust code for task #1794. --- module/install/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/install/model.php b/module/install/model.php index f01e8c9b8f..6edc954352 100644 --- a/module/install/model.php +++ b/module/install/model.php @@ -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);