Ignore:
Timestamp:
Oct 21, 2009, 10:24:50 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Chybějící include v souborech.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/Model/User.php

    r78 r80  
    124124      else
    125125      {
    126         $this->Database->update('User', 'Id='.$Row['Id'], array('LastLoginTime' => 'NOW()', 'LastIpAddress' => GetRemoteAddress()));     
     126        $this->Database->update('User', 'Id='.$Row['Id'], array('LastLoginTime' => 'NOW()', 'LastIpAddress' => $this->System->GetRemoteAddress()));     
    127127        $this->Database->update('UserOnline', 'SessionId="'.$SID.'"', array('User' => $Row['Id']));
    128128        // načtení stavu stromu
    129129        $Result = $this->System->Translate('UserLoggedIn');
    130         $this->System->Modules['Log']->NewRecord('User', 'Login', 'Login='.$Login.',Host='.gethostbyaddr(GetRemoteAddress()));
     130        $this->System->Modules['Log']->NewRecord('User', 'Login', 'Login='.$Login.',Host='.gethostbyaddr($this->System->GetRemoteAddress()));
    131131      }
    132132    } else $Result = $this->System->Translate('UserNotRegistred');
Note: See TracChangeset for help on using the changeset viewer.