Browse Source

Merge pull request #4649 from fatalbanana/rspamd_sharedir

[Minor] RSPAMD_SHAREDIR is called SHAREDIR in configuration
tags/3.7.2
Vsevolod Stakhov 7 months ago
parent
commit
78f91465d1
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      conf/lang_detection.inc

+ 2
- 2
conf/lang_detection.inc View File

@@ -9,7 +9,7 @@
# parameters defined inside this section

# Path to the languages shared data
# languages = "${RSPAMD_SHAREDIR}/languages"
# languages = "${SHAREDIR}/languages"

# Limit in words to treat text as short for language detection
# short_text_limit = 10
@@ -21,7 +21,7 @@
# languages_disable = ["fr", "es"]

# Use the following fasttext model for language detection (if Fasttext support is compiled in)
# fasttext_model = "${RSPAMD_SHAREDIR}/languages/fasttext_model.ftz"
# fasttext_model = "${SHAREDIR}/languages/fasttext_model.ftz"

# Prefer fasttext over all other methods
# prefer_fasttext = true;

Loading…
Cancel
Save