Skip to content

Commit 184a0f9

Browse files
committed
Log added
1 parent a6b2758 commit 184a0f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

insert.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ function insert_into($file = "key_user") {
171171
// creating document to insert into log collection
172172
$doc = [
173173
'date' => new MongoDB\BSON\UTCDateTime,
174-
'execution_time' => round( ( (microtime(true) - $time1)),3 ),
175-
'file_name' => $_GET['file'],
174+
'php_seconds' => round( ( (microtime(true) - $time1)),3 ),
175+
'file' => $_GET['file'],
176176
'matched' => $log->matched,
177177
'inserted' => $log->inserted,
178178
'updated' => $log->modified,

0 commit comments

Comments
 (0)