From 16d64dc52a39f27e4730bc5e088389422b9a0654 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sat, 6 Apr 2024 16:46:50 +0300 Subject: [PATCH] Update DomainIsCreatedListener.php --- web/Modules/Microweber/Listeners/DomainIsCreatedListener.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/Modules/Microweber/Listeners/DomainIsCreatedListener.php b/web/Modules/Microweber/Listeners/DomainIsCreatedListener.php index 2e92225..aee0843 100644 --- a/web/Modules/Microweber/Listeners/DomainIsCreatedListener.php +++ b/web/Modules/Microweber/Listeners/DomainIsCreatedListener.php @@ -31,7 +31,6 @@ class DomainIsCreatedListener if (! $findHostingSubscription) { return; } - $findHostingPlan = HostingPlan::where('id', $findHostingSubscription->hosting_plan_id)->first(); if (! $findHostingPlan) { return; @@ -41,14 +40,14 @@ class DomainIsCreatedListener return; } - $phyreShellExecutor = new \Modules\Microweber\Shell\Adapters\PhyreShellExecutor(); + // $phyreShellExecutor = new \Modules\Microweber\Shell\Adapters\PhyreShellExecutor(); $installationType = 'symlink'; $installationLanguage = 'bg'; $installationTemplate = 'shopmag'; $install = new \MicroweberPackages\SharedServerScripts\MicroweberInstaller(); - $install->setShellExecutor($phyreShellExecutor); + // $install->setShellExecutor($phyreShellExecutor); $install->setChownUser($findDomain->domain_username); $install->enableChownAfterInstall();