Redirect to home if there is no maintenance needed

This commit is contained in:
grandeljay 2022-11-19 20:44:23 +01:00
parent ed0f6a2802
commit d9e17a7b2b

View file

@ -8,6 +8,10 @@
namespace wishthis;
if ($options && $options->getOption('version') === VERSION) {
redirect(Page::PAGE_HOME);
}
$page = new Page(__FILE__, __('Maintenance'));
$page->header();
$page->bodyStart();