admin пре 7 година
родитељ
комит
ce32012727
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      app/Http/Controllers/ShopController.php

+ 3 - 3
app/Http/Controllers/ShopController.php

@@ -67,9 +67,9 @@ class ShopController extends Controller
                 return Redirect::back()->withInput();
             }
 
-            // 流量不能超过1PB
-            if ($traffic > 1073741824) {
-                Session::flash('errorMsg', '内含流量不能超过1PB');
+            // 流量不能超过10TB
+            if ($traffic > 10240000) {
+                Session::flash('errorMsg', '内含流量不能超过10TB');
 
                 return Redirect::back()->withInput();
             }