Changeset 957 for trunk/Modules/Log/Log.php
- Timestamp:
- Sep 22, 2023, 11:55:38 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Log/Log.php
r949 r957 36 36 } 37 37 38 function GetRequestURI(): string 39 { 40 if (array_key_exists('REQUEST_URI', $_SERVER)) return $_SERVER['REQUEST_URI']; 41 else return $_SERVER['PHP_SELF']; 42 } 43 38 44 function NewRecord(string $Module, string $Operation, string $Value = ''): void 39 45 { … … 46 52 $this->Database->insert('Log', array('Time' => 'NOW()', 47 53 'User' => $UserId, 'Module' => $Module, 48 'Operation' => $Operation, 'Value' => $Value, 'IPAddress' => $IPAddress ));54 'Operation' => $Operation, 'Value' => $Value, 'IPAddress' => $IPAddress, 'URL' => $this->GetRequestURI())); 49 55 } 50 56
Note:
See TracChangeset
for help on using the changeset viewer.