mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
misc(integrity checker): Disabled by default in Demo mode
(#1804)
* misc(integrity checker): Disabled by default in `Demo mode`
* Update build_files_integrity.php
* Update cd.yml
* Revert "Update cd.yml"
This reverts commit ec74a0e0e2
.
This commit is contained in:
parent
c2bd2d4d68
commit
44be40c2e8
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ if (!defined('BB_ROOT')) {
|
|||
|
||||
global $bb_cfg;
|
||||
|
||||
if (!$bb_cfg['integrity_check'] || APP_ENV === 'local') {
|
||||
if (!$bb_cfg['integrity_check'] || APP_ENV === 'local' || IN_DEMO_MODE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -39,10 +39,10 @@ $ignoreFiles = [
|
|||
'*/.htaccess',
|
||||
'robots.txt',
|
||||
// TorrentPier specific
|
||||
'*.md5',
|
||||
'install.php',
|
||||
'favicon.png',
|
||||
hide_bb_path(CHECKSUMS_FILE),
|
||||
hide_bb_path(BB_ENABLED),
|
||||
'internal_data/triggers/*',
|
||||
'library/config.php',
|
||||
'library/defines.php',
|
||||
'styles/images/logo/logo.png'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue