mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Use getInternalDateTime() as default time value for DB insert
This commit is contained in:
parent
9b640ea15d
commit
7ac2312eb7
1 changed files with 4 additions and 3 deletions
|
|
@ -126,14 +126,15 @@ class DefaultValue
|
|||
switch($func_name)
|
||||
{
|
||||
case 'ipaddress' :
|
||||
$val = '$_SERVER[\'REMOTE_ADDR\']';
|
||||
$val = '\\RX_CLIENT_IP';
|
||||
$this->_is_string_from_function = TRUE;
|
||||
break;
|
||||
case 'unixtime' :
|
||||
$val = '$_SERVER[\'REQUEST_TIME\']';
|
||||
$val = '\\RX_TIME';
|
||||
$this->_is_string_from_function = TRUE;
|
||||
break;
|
||||
case 'curdate' :
|
||||
$val = 'date("YmdHis")';
|
||||
$val = 'getInternalDateTime()';
|
||||
$this->_is_string_from_function = TRUE;
|
||||
break;
|
||||
case 'sequence' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue