Skip to content

Commit

Permalink
check if setup active
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis authored Mar 16, 2022
1 parent 4fdd5bb commit df3bcbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// stop if Setup is active
if (rex::isSetup()) return;
$addon = rex_addon::get('maintenance');
$secret = '';
if (rex::isFrontend() and $addon->getConfig('frontend_aktiv') != 'Deaktivieren' and $addon->getConfig('secret') != '') {
Expand Down

0 comments on commit df3bcbc

Please sign in to comment.