We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca3967 commit 23e8142Copy full SHA for 23e8142
application/libraries/REST_Controller.php
@@ -1037,7 +1037,7 @@ protected function _log_request($authorized = FALSE)
1037
'params' => $this->_args ? ($this->config->item('rest_logs_json_params') === TRUE ? json_encode($this->_args) : serialize($this->_args)) : NULL,
1038
'api_key' => isset($this->rest->key) ? $this->rest->key : '',
1039
'ip_address' => $this->input->ip_address(),
1040
- 'time' => now(), // Used to be: function_exists('now') ? now() : time()
+ 'time' => time(),
1041
'authorized' => $authorized
1042
]);
1043
0 commit comments