From fc22ab52b25616b0d8dd0b13f4b2076664dd05b1 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 29 Apr 2024 11:41:52 +0300 Subject: [PATCH] update --- web/app/Console/Commands/RunDomainRepair.php | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 web/app/Console/Commands/RunDomainRepair.php diff --git a/web/app/Console/Commands/RunDomainRepair.php b/web/app/Console/Commands/RunDomainRepair.php new file mode 100644 index 0000000..c103ac6 --- /dev/null +++ b/web/app/Console/Commands/RunDomainRepair.php @@ -0,0 +1,37 @@ +count() > 0) { + foreach ($getAllDomains as $domain) { + $this->info('Repair domain: ' . $domain->domain); + $domain->configureVirtualHost(); + } + } + } +}