* adjus for todo to story and bug.

This commit is contained in:
wangyidong
2018-01-16 10:25:51 +08:00
parent d49cc7d23f
commit 5dddac711b
7 changed files with 72 additions and 10 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class devModel extends model
foreach($datatables as $table)
{
$table = current($table);
if(strpos($table, $this->config->db->prefix) !== false)
if(empty($this->config->db->prefix) or strpos($table, $this->config->db->prefix) !== false)
{
$subTable = substr($table, strpos($table, '_') + 1);
$group = zget($this->config->dev->group, $subTable, 'other');