Skip to content

Commit

Permalink
Merge pull request #4649 from fatalbanana/rspamd_sharedir
Browse files Browse the repository at this point in the history
[Minor] RSPAMD_SHAREDIR is called SHAREDIR in configuration
  • Loading branch information
vstakhov committed Oct 17, 2023
2 parents d648712 + 9ac6d71 commit 78f9146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/lang_detection.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 78f9146

Please sign in to comment.