Update HostingAccountIsCreatedListener.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-03 21:39:43 +03:00
parent 3d6cf33810
commit 17a39852d1

View file

@ -22,6 +22,7 @@ class HostingAccountIsCreatedListener
public function handle(HostingAccountIsCreated $event): void
{
return;
$findWebsite = \App\Models\Website::where('id', $event->model->id)->first();
ShellApi::exec('chmod 777 ' . $findWebsite->domain_public);