Redirect to home if there is no maintenance needed
This commit is contained in:
parent
ed0f6a2802
commit
d9e17a7b2b
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue