mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
update
This commit is contained in:
parent
3eaf9fd96b
commit
9ecdde0957
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class RunDomainRepair extends Command
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
$apacheBuild = new ApacheBuild();
|
||||
$apacheBuild = new ApacheBuild(true);
|
||||
$apacheBuild->handle();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ class ApacheBuild implements ShouldQueue
|
|||
$getAllDomains = Domain::whereNot('status','<=>', 'broken')->get();
|
||||
$virtualHosts = [];
|
||||
foreach ($getAllDomains as $domain) {
|
||||
$virtualHostSettings = $domain->configureVirtualHost();
|
||||
$virtualHostSettings = $domain->configureVirtualHost($this->fixPermissions);
|
||||
if (isset($virtualHostSettings['virtualHostSettings'])) {
|
||||
$virtualHosts[] = $virtualHostSettings['virtualHostSettings'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue