use constant for table name
This commit is contained in:
parent
9645614c56
commit
52f686003d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class improve
|
||||||
if (empty($this->logs)) {
|
if (empty($this->logs)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
$cur = dcCore::app()->con->openCursor(dcCore::app()->prefix . 'log');
|
$cur = dcCore::app()->con->openCursor(dcCore::app()->prefix . dcLog::LOG_TABLE_NAME);
|
||||||
$cur->log_msg = serialize($this->logs);
|
$cur->log_msg = serialize($this->logs);
|
||||||
$cur->log_table = 'improve';
|
$cur->log_table = 'improve';
|
||||||
$id = dcCore::app()->log->addLog($cur);
|
$id = dcCore::app()->log->addLog($cur);
|
||||||
|
|
Loading…
Reference in a new issue