Ignore:
Timestamp:
May 29, 2014, 11:59:39 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Zobrazení hodnoty času trvání změn stavu rozhraní.
  • Upraveno: Vzdálenou IP klienta nezjišťovat z proxy adres. Tyto adresy se dají falšovat a tedy nejsou spolehlivé.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigLinux/Generators/DNS.php

    r618 r659  
    99$BaseDomain = 'zdechov.net';
    1010$Now = getdate();
    11 $I = floor(($Now['hours'] * 60 * 60 + $Now['minutes'] * 60 + $Now['seconds']) / (24 * 60 * 60) * 100); 
     11$I = floor(($Now['hours'] * 60 * 60 + $Now['minutes'] * 60 + $Now['seconds']) / (24 * 60 * 60) * 100);
    1212$Serial = date('Ymd', time()).$I;
    1313$MinimumTime = 7200;
     
    192192
    193193// Domain alias
    194 $DbResult = $System->Database->query('SELECT NetworkDomainAlias.* FROM `NetworkDomainAlias`'); 
     194$DbResult = $System->Database->query('SELECT NetworkDomainAlias.* FROM `NetworkDomainAlias`');
    195195// JOIN `NetworkDevice` ON NetworkDomainAlias.Target LIKE NetworkDevice.Name AND NetworkInterface.ExternalIP != ""');
    196196while($Alias = $DbResult->fetch_assoc())
Note: See TracChangeset for help on using the changeset viewer.