mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +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)
|
switch($func_name)
|
||||||
{
|
{
|
||||||
case 'ipaddress' :
|
case 'ipaddress' :
|
||||||
$val = '$_SERVER[\'REMOTE_ADDR\']';
|
$val = '\\RX_CLIENT_IP';
|
||||||
$this->_is_string_from_function = TRUE;
|
$this->_is_string_from_function = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'unixtime' :
|
case 'unixtime' :
|
||||||
$val = '$_SERVER[\'REQUEST_TIME\']';
|
$val = '\\RX_TIME';
|
||||||
|
$this->_is_string_from_function = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'curdate' :
|
case 'curdate' :
|
||||||
$val = 'date("YmdHis")';
|
$val = 'getInternalDateTime()';
|
||||||
$this->_is_string_from_function = TRUE;
|
$this->_is_string_from_function = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'sequence' :
|
case 'sequence' :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue