Changeset 564
- Timestamp:
- Aug 11, 2013, 12:28:14 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Version.php
r563 r564 1 1 <?php 2 2 3 $Revision = 56 3; // Subversion revision3 $Revision = 564; // Subversion revision 4 4 $DatabaseRevision = 551; // SQL structure revision 5 5 $ReleaseTime = '2013-08-10'; -
trunk/Modules/Log/Log.php
r548 r564 54 54 $UserId = $this->System->User->User['Id']; 55 55 else $UserId = NULL; 56 if(array_key_exists('REMOTE_ADDR', $_SERVER)) $IPAddress = $_SERVER['REMOTE_ADDR']; 57 else $IPAddress = ''; 56 58 $this->Database->insert('Log', array('Time' => 'NOW()', 57 59 'User' => $UserId, 'Module' => $Module, 58 'Operation' => $Operation, 'Value' => $Value, 'IPAddress' => $ _SERVER['REMOTE_ADDR']));60 'Operation' => $Operation, 'Value' => $Value, 'IPAddress' => $IPAddress)); 59 61 } 60 62 }
Note:
See TracChangeset
for help on using the changeset viewer.