* Validate data of zahost before create it.
This commit is contained in:
@@ -256,6 +256,8 @@ define('TABLE_USERTPL', '`' . $config->db->prefix . 'usertpl`');
|
||||
define('TABLE_ZAHOST', '`' . $config->db->prefix . 'host`');
|
||||
define('TABLE_IMAGE', '`' . $config->db->prefix . 'image`');
|
||||
|
||||
if(!defined('TABLE_ASSET')) define('TABLE_ASSET', '`' . $config->db->prefix . 'asset`');
|
||||
|
||||
define('TABLE_PRODUCT', '`' . $config->db->prefix . 'product`');
|
||||
define('TABLE_BRANCH', '`' . $config->db->prefix . 'branch`');
|
||||
define('TABLE_EXPECT', '`' . $config->db->prefix . 'expect`');
|
||||
|
||||
@@ -48,3 +48,4 @@ $config->zahost->search['params']['editedDate'] = array('operator' => '=',
|
||||
$config->zahost->editor = new stdclass();
|
||||
$config->zahost->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->zahost->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user