Skip to content

Commit

Permalink
Merge pull request PrestaShop#34370 from Prestaworks/issue-13505
Browse files Browse the repository at this point in the history
Load theme css on maintenance page
  • Loading branch information
mflasquin authored Dec 5, 2023
2 parents e452b29 + fd5783b commit 55e08e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/controller/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,7 @@ protected function displayMaintenancePage()
header('HTTP/1.1 503 Service Unavailable');
header('Retry-After: 3600');

$this->setMedia();
$this->registerStylesheet('theme-error', '/assets/css/error.css', ['media' => 'all', 'priority' => 50]);
$this->context->smarty->assign([
'urls' => $this->getTemplateVarUrls(),
Expand Down

0 comments on commit 55e08e9

Please sign in to comment.