mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update UpdateWhitelabelToWebsites.php
This commit is contained in:
parent
4d4820b56a
commit
cc513faf36
1 changed files with 8 additions and 4 deletions
|
@ -43,10 +43,14 @@ class UpdateWhitelabelToWebsites implements ShouldQueue
|
|||
|
||||
foreach ($mwInstallations as $mwInstallation) {
|
||||
|
||||
try {
|
||||
$whitelabelApply = new MicroweberWhitelabelWebsiteApply();
|
||||
$whitelabelApply->setWebPath($mwInstallation->installation_path);
|
||||
$whitelabelApply->setSharedPath($sharedAppPath);
|
||||
$whitelabelApply->apply();
|
||||
} catch (\Exception $e) {
|
||||
// \Log::error('Error applying whitelabel to website: ' . $mwInstallation->installation_path);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue