Changeset 724 for trunk/Modules/NetworkConfigRouterOS/Generators/Queue.php
- Timestamp:
- Jan 3, 2015, 8:40:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/Queue.php
r625 r724 49 49 $InInterface = 'ifb0'; 50 50 $InetInterface = $Config['MainRouter']['InetInterface']; 51 $FreeInetSpeed = $Finance->Tariffs[TARIFF_FREE]['InternetSpeedMax']; 51 52 $DbResult = $System->Database->select('Service', '*', '(`ReplaceId` IS NULL) AND (`Id`='.TARIFF_FREE.')'); 53 if($DbResult->num_rows == 1) 54 { 55 $Service = $DbResult->fetch_array(); 56 $FreeInetSpeed = $Service['InternetSpeedMax'] * 1000; 57 } else $FreeInetSpeed = 0; 52 58 53 59 $ItemsQueue = array();
Note:
See TracChangeset
for help on using the changeset viewer.