Changeset 479 for trunk/system/generators/linux/traffic_shaping.php
- Timestamp:
- Feb 5, 2013, 9:45:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/linux/traffic_shaping.php
r440 r479 128 128 $UserClassId = $ClassId; 129 129 $ClassId = $ClassId + 1; 130 $SpeedIn = round($Tarify[$User['inet_tarif_now']][' SpeedMin'] / $InDivider);131 $SpeedOut = round($Tarify[$User['inet_tarif_now']][' SpeedMin'] / $OutDivider);132 $UserMaxSpeedIn = round($Tarify[$User['inet_tarif_now']][' SpeedMax'] / $InDivider);133 $UserMaxSpeedOut = round($Tarify[$User['inet_tarif_now']][' SpeedMax'] / $OutDivider);130 $SpeedIn = round($Tarify[$User['inet_tarif_now']]['InternetSpeedMin'] / $InDivider); 131 $SpeedOut = round($Tarify[$User['inet_tarif_now']]['InternetSpeedMin'] / $OutDivider); 132 $UserMaxSpeedIn = round($Tarify[$User['inet_tarif_now']]['InternetSpeedMax'] / $InDivider); 133 $UserMaxSpeedOut = round($Tarify[$User['inet_tarif_now']]['InternetSpeedMax'] / $OutDivider); 134 134 $Quantum = $Tarify[$User['inet_tarif_now']]['speed_factor'] * 1500; 135 135
Note:
See TracChangeset
for help on using the changeset viewer.