|
@@ -31,7 +31,6 @@ class DomainIsCreatedListener
|
|
if (! $findHostingSubscription) {
|
|
if (! $findHostingSubscription) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
-
|
|
|
|
$findHostingPlan = HostingPlan::where('id', $findHostingSubscription->hosting_plan_id)->first();
|
|
$findHostingPlan = HostingPlan::where('id', $findHostingSubscription->hosting_plan_id)->first();
|
|
if (! $findHostingPlan) {
|
|
if (! $findHostingPlan) {
|
|
return;
|
|
return;
|
|
@@ -41,14 +40,14 @@ class DomainIsCreatedListener
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- $phyreShellExecutor = new \Modules\Microweber\Shell\Adapters\PhyreShellExecutor();
|
|
|
|
|
|
+ // $phyreShellExecutor = new \Modules\Microweber\Shell\Adapters\PhyreShellExecutor();
|
|
|
|
|
|
$installationType = 'symlink';
|
|
$installationType = 'symlink';
|
|
$installationLanguage = 'bg';
|
|
$installationLanguage = 'bg';
|
|
$installationTemplate = 'shopmag';
|
|
$installationTemplate = 'shopmag';
|
|
|
|
|
|
$install = new \MicroweberPackages\SharedServerScripts\MicroweberInstaller();
|
|
$install = new \MicroweberPackages\SharedServerScripts\MicroweberInstaller();
|
|
- $install->setShellExecutor($phyreShellExecutor);
|
|
|
|
|
|
+ // $install->setShellExecutor($phyreShellExecutor);
|
|
$install->setChownUser($findDomain->domain_username);
|
|
$install->setChownUser($findDomain->domain_username);
|
|
$install->enableChownAfterInstall();
|
|
$install->enableChownAfterInstall();
|
|
|
|
|