mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
misc(integrity checker): Disabled by default in Demo mode
This commit is contained in:
parent
a29d57b2f8
commit
4fea8d088a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ if (!defined('BB_ROOT')) {
|
||||||
|
|
||||||
global $bb_cfg;
|
global $bb_cfg;
|
||||||
|
|
||||||
if (!$bb_cfg['integrity_check'] || APP_ENV === 'local') {
|
if (!$bb_cfg['integrity_check'] || APP_ENV === 'local' || IN_DEMO_MODE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue