Quellcode durchsuchen

Update ApachePingWebsitesWithCurl.php

Bozhidar Slaveykov vor 1 Jahr
Ursprung
Commit
3624b73e62
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      web/app/Console/Commands/ApachePingWebsitesWithCurl.php

+ 1 - 1
web/app/Console/Commands/ApachePingWebsitesWithCurl.php

@@ -35,7 +35,7 @@ class ApachePingWebsitesWithCurl extends Command
             $newSubscription = new \App\Models\HostingSubscription();
             $newSubscription->customer_id = $findCustomer->id;
             $newSubscription->hosting_plan_id = $findHostingPlan->id;
-            $newSubscription->domain = 'next-'.rand(111,999).'server-1-'.$i.rand(1111,9999).'.test.multiweber.com';
+            $newSubscription->domain = 'next-'.rand(11111,99999).'server-1-'.$i.rand(11111,99999).'.test.multiweber.com';
             $newSubscription->save();
         }