Set the date using now() instead of the php date function.
This commit is contained in:
parent
1199269347
commit
d3eeaab1b4
|
|
@ -352,7 +352,7 @@ include "root.php";
|
|||
$sql .= "where domain_uuid = :domain_uuid and device_mac_address = :device_mac_address ";
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
$parameters['device_mac_address'] = strtolower($mac);
|
||||
$parameters['device_provisioned_date'] = date("Y-m-d H:i:s");
|
||||
$parameters['device_provisioned_date'] = 'now()';
|
||||
$parameters['device_provisioned_method'] = (isset($_SERVER["HTTPS"]) ? 'https' : 'http');
|
||||
$parameters['device_provisioned_ip'] = $_SERVER['REMOTE_ADDR'];
|
||||
$parameters['device_provisioned_agent'] = $_SERVER['HTTP_USER_AGENT'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue