Changeset 204 for trunk/system/generators/traffic_shaping.php
- Timestamp:
- May 1, 2009, 12:13:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/traffic_shaping.php
r197 r204 128 128 $UserClassId = $ClassId; 129 129 $ClassId = $ClassId + 1; 130 $SpeedIn = round($Tarify[$User['inet_tarif_now']][' min_speed'] / $InDivider);131 $SpeedOut = round($Tarify[$User['inet_tarif_now']][' min_speed'] / $OutDivider);132 $UserMaxSpeedIn = round($Tarify[$User['inet_tarif_now']][' max_speed'] / $InDivider);133 $UserMaxSpeedOut = round($Tarify[$User['inet_tarif_now']][' max_speed'] / $OutDivider);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); 134 134 $Quantum = $Tarify[$User['inet_tarif_now']]['speed_factor'] * 1500; 135 135
Note:
See TracChangeset
for help on using the changeset viewer.