From a21403a9044f8042a9fb0936c41f95c8355b2016 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 13 May 2024 15:20:29 +0300 Subject: [PATCH] Update MasterDomain.php --- web/app/MasterDomain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/MasterDomain.php b/web/app/MasterDomain.php index 008cb39..5b63e1f 100644 --- a/web/app/MasterDomain.php +++ b/web/app/MasterDomain.php @@ -56,7 +56,7 @@ class MasterDomain if (!empty($apacheBaseConfig)) { file_put_contents('/etc/apache2/sites-available/zzz-'.$this->domain.'.conf', $apacheBaseConfig); - shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'-default.conf /etc/apache2/sites-enabled/'.$this->domain.'-default.conf'); + shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'-default.conf /etc/apache2/sites-enabled/zzz-'.$this->domain.'-default.conf'); } // Install SSL @@ -136,7 +136,7 @@ class MasterDomain } file_put_contents('/etc/apache2/sites-available/zzz-'.$this->domain.'-ssl.conf', $apacheBaseConfigWithSSL); - shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'-ssl.conf /etc/apache2/sites-enabled/'.$this->domain.'-ssl.conf'); + shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'-ssl.conf /etc/apache2/sites-enabled/zzz-'.$this->domain.'-ssl.conf'); }