mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
5c646346e2
commit
cfc42dc1a2
2 changed files with 1 additions and 3 deletions
|
@ -328,9 +328,6 @@ class Domain extends Model
|
|||
|
||||
$apacheBaseConfig = $apacheVirtualHostBuilder->buildConfig();
|
||||
|
||||
|
||||
// Certificate setup
|
||||
|
||||
$catchMainDomain = '';
|
||||
$domainExp = explode('.', $this->domain);
|
||||
if (count($domainExp) > 0) {
|
||||
|
|
|
@ -88,6 +88,7 @@ IncludeOptional conf-enabled/*.conf
|
|||
|
||||
file_put_contents('/etc/apache2/apache2.conf', $virtualHostMerged);
|
||||
|
||||
shell_exec('sudo service apache2 restart');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue