Changeset 659 for trunk/Modules/NetworkConfigLinux/Generators/DNS.php
- Timestamp:
- May 29, 2014, 11:59:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigLinux/Generators/DNS.php
r618 r659 9 9 $BaseDomain = 'zdechov.net'; 10 10 $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); 12 12 $Serial = date('Ymd', time()).$I; 13 13 $MinimumTime = 7200; … … 192 192 193 193 // Domain alias 194 $DbResult = $System->Database->query('SELECT NetworkDomainAlias.* FROM `NetworkDomainAlias`'); 194 $DbResult = $System->Database->query('SELECT NetworkDomainAlias.* FROM `NetworkDomainAlias`'); 195 195 // JOIN `NetworkDevice` ON NetworkDomainAlias.Target LIKE NetworkDevice.Name AND NetworkInterface.ExternalIP != ""'); 196 196 while($Alias = $DbResult->fetch_assoc())
Note:
See TracChangeset
for help on using the changeset viewer.