Changeset 11 for trunk/Modules


Ignore:
Timestamp:
Jun 18, 2023, 9:57:03 AM (17 months ago)
Author:
chronos
Message:
  • Fixed: IPv6 needs longer string in database.
Location:
trunk/Modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Map/MapSeznam.php

    r8 r11  
    3535var route = new SMap.Route(coords, nalezeno);
    3636            </script>';
    37     $this->System->HeadItems[] = '<script src="//api.mapy.cz/loader.js"></script>
     37    Core::Cast($this->System)->HeadItems[] = '<script src="//api.mapy.cz/loader.js"></script>
    3838        <script>Loader.load()</script>';
    3939
  • trunk/Modules/User/ModuleUser.php

    r10 r11  
    3131      '`Email` varchar(128) NOT NULL DEFAULT "",'.
    3232      '`BirthDate` date NULL,'.
    33       '`LastIpAddress` varchar(16) NOT NULL DEFAULT "",'.
     33      '`LastIpAddress` varchar(45) NOT NULL DEFAULT "",'.
    3434      '`LastLoginTime` datetime NULL,'.
    3535      '`RegistrationTime` datetime NULL,'.
     
    4545      '`LoginTime` datetime NULL,'.
    4646      '`SessionId` varchar(255) NOT NULL DEFAULT "",'.
    47       '`IpAddress` varchar(16) NOT NULL DEFAULT "",'.
     47      '`IpAddress` varchar(45) NOT NULL DEFAULT "",'.
    4848      '`HostName` varchar(255) NOT NULL DEFAULT "",'.
    4949      '`ScriptName` varchar(255) NOT NULL,'.
  • trunk/Modules/User/PageUserList.php

    r8 r11  
    1313  function Show(): string
    1414  {
    15     if (!$this->System->User->CheckPermission('User', 'ShowList'))
     15    if (!Core::Cast($this->System)->User->CheckPermission('User', 'ShowList'))
    1616      return 'Nemáte oprávnění';
    1717
Note: See TracChangeset for help on using the changeset viewer.