update
This commit is contained in:
parent
cf8fbfec17
commit
02f22e0037
2 changed files with 5 additions and 5 deletions
|
@ -27,7 +27,7 @@ class LetsEncryptServiceProvider extends ServiceProvider
|
|||
$this->registerViews();
|
||||
$this->loadMigrationsFrom(module_path($this->moduleName, 'Database/migrations'));
|
||||
|
||||
Event::listen(HostingAccountIsCreated::class,HostingAccountIsCreatedListener::class);
|
||||
// Event::listen(HostingAccountIsCreated::class,HostingAccountIsCreatedListener::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,7 +23,7 @@ class HostingAccountIsCreatedListener
|
|||
{
|
||||
|
||||
$findWebsite = \App\Models\Website::where('id', $event->model->id)->first();
|
||||
|
||||
|
||||
ShellApi::exec('chmod 777 ' . $findWebsite->domain_public);
|
||||
|
||||
$phyreShellExecutor = new \Modules\Microweber\Shell\Adapters\PhyreShellExecutor();
|
||||
|
@ -39,15 +39,15 @@ class HostingAccountIsCreatedListener
|
|||
$install->setLanguage('bg');
|
||||
$install->setTemplate('shopmag');
|
||||
|
||||
$install->setStandaloneInstallation();
|
||||
// $install->setStandaloneInstallation();
|
||||
$install->setSymlinkInstallation();
|
||||
$install->setDatabaseDriver('sqlite');
|
||||
|
||||
$install->setAdminEmail('bojotjo@abv.bg');
|
||||
$install->setAdminUsername('bojotjo');
|
||||
$install->setAdminPassword('bojotjo');
|
||||
|
||||
$install->run();
|
||||
|
||||
$status = $install->run();
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue