ALLOW_FILES flag

This commit is contained in:
Tamás Kádár
2024-03-15 14:14:17 +00:00
parent 7213e6c690
commit 2653a4bccf
5 changed files with 16 additions and 7 deletions

View File

@@ -34,6 +34,10 @@ lazy_static! {
.unwrap_or("32".to_string())
.parse()
.unwrap();
pub static ref ALLOW_FILES: bool = std::env::var("ALLOW_FILES")
.unwrap_or("true".to_string())
.parse()
.unwrap();
}
// THEME