diff --git a/src/pages/maintenance.php b/src/pages/maintenance.php index a25fa874..bc3ebbba 100644 --- a/src/pages/maintenance.php +++ b/src/pages/maintenance.php @@ -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();