Changeset 47 for www/global.php
- Timestamp:
- Feb 1, 2008, 10:01:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/global.php
r4 r47 14 14 15 15 $MonthNames = array('','Leden','Únor','Březen','Duben','Květen','Červen','Červenec','Srpen','Září','Říjen','Listopad','Prosinec'); 16 17 $MaxSubnet = 7; 16 18 17 19 function GetMicrotime() … … 33 35 { 34 36 $Parts = explode('.', $Host['IP']); 35 return('1 0.0.'.$Parts[2].'.'.$Parts[3]);37 return('172.16.'.$Parts[2].'.'.$Parts[3]); 36 38 } else 37 39 { 38 40 return($Host['external_ip']); 39 41 } 42 } 43 44 function ToCzfreeIp($Host) 45 { 46 $Parts = explode('.', $Host['external_ip']); 47 if($Host['name'] == 'CENTRALA') return('10.144.1.1'); 48 else return('10.144.200.'.$Parts[3]); 40 49 } 41 50
Note:
See TracChangeset
for help on using the changeset viewer.