aboutsummaryrefslogtreecommitdiff
path: root/lib/bootstrap.php
diff options
context:
space:
mode:
authorGravatar Dag <me@dvikan.no> 2023-06-02 20:22:09 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-02 20:22:09 +0200
commitee498eadf93a1e5ffdc7932ed1519c875eadcd7d (patch)
tree0e0aa312bafc4de6ee0f1d9b496114563c2cc69b /lib/bootstrap.php
parentc5cd2294456c6a118885003f7beb6f32bb98bc68 (diff)
downloadrss-bridge-ee498eadf93a1e5ffdc7932ed1519c875eadcd7d.tar.gz
rss-bridge-ee498eadf93a1e5ffdc7932ed1519c875eadcd7d.tar.zst
rss-bridge-ee498eadf93a1e5ffdc7932ed1519c875eadcd7d.zip
fix: move debug mode to config (#3324)
* fix: move debug mode to config * fix: also move debug_whitelist to .ini config * fix: move logic back to Debug class * docs * docs * fix: disable debug mode by default * fix: restore previous behavior for alerts * fix: center-align alert text
Diffstat (limited to 'lib/bootstrap.php')
-rw-r--r--lib/bootstrap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bootstrap.php b/lib/bootstrap.php
index 8e5cf69c..98c7b54d 100644
--- a/lib/bootstrap.php
+++ b/lib/bootstrap.php
@@ -40,6 +40,7 @@ const WHITELIST_DEFAULT = __DIR__ . '/../whitelist.default.txt';
const REPOSITORY = 'https://github.com/RSS-Bridge/rss-bridge/';
// Allow larger files for simple_html_dom
+// todo: extract to config (if possible)
const MAX_FILE_SIZE = 10000000;
// Files