Skip to content

Commit

Permalink
set live mode default to false (#47)
Browse files Browse the repository at this point in the history
* set live mode default to false

* set live mode default to false
  • Loading branch information
skerbis authored Feb 20, 2024
1 parent eeb122e commit 66c6e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boot.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
if (true === rex::getProperty('live_mode'))
if (true === rex::getProperty('live_mode',false))
{
returm;
}
Expand Down
2 changes: 1 addition & 1 deletion pages/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/** @var rex_addon $this */
if (true === rex::getProperty('live_mode'))
if (true === rex::getProperty('live_mode',false))
{
exit;
}
Expand Down

0 comments on commit 66c6e59

Please sign in to comment.