Skip to content

Commit

Permalink
Add the downvotes mode to the .env.example (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
BentiGorlich authored Sep 10, 2024
1 parent 511971b commit 84b1c46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ TRUSTED_PROXIES=
# This should be set to <= `upload_max_filesize` and `post_max_size` in the server's php.ini file
MAX_IMAGE_BYTES=6000000

# possible values:
# 'enabled' => default mode downvotes are enabled
# 'hidden' => downvotes are counted and users can downvote, but the number is hidden
# 'disabled' => downvotes are ignored and the downvote button is hidden. They also do not count in the sorting
MBIN_DOWNVOTES_MODE=enabled

# Captcha (also enable in admin panel/settings)
KBIN_CAPTCHA_ENABLED=false
###> meteo-concept/hcaptcha-bundle ###
Expand Down
6 changes: 6 additions & 0 deletions .env.example_docker
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ TRUSTED_PROXIES=::1,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
# This should be set to <= `upload_max_filesize` and `post_max_size` in the server's php.ini file
MAX_IMAGE_BYTES=6000000

# possible values:
# 'enabled' => default mode downvotes are enabled
# 'hidden' => downvotes are counted and users can downvote, but the number is hidden
# 'disabled' => downvotes are ignored and the downvote button is hidden. They also do not count in the sorting
MBIN_DOWNVOTES_MODE=enabled

# Captcha (also enable in admin panel/settings)
KBIN_CAPTCHA_ENABLED=false

Expand Down

0 comments on commit 84b1c46

Please sign in to comment.