Update DomainIsCreatedListener.php
This commit is contained in:
parent
7555506b0c
commit
16d64dc52a
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue