summaryrefslogtreecommitdiff
path: root/plugins/af_lang_detect/init.php
diff options
context:
space:
mode:
authorfox <[email protected]>2018-08-07 11:18:05 +0000
committerGogs <[email protected]>2018-08-07 11:18:05 +0000
commitc3d57017d3f21bf2855aa4c0407d0b8c0e53c243 (patch)
treef96d305931b645bd0082003fba9cb9c11306bc89 /plugins/af_lang_detect/init.php
parent03fff1e95e839a8cd36dc6d7032be0d16eff35f7 (diff)
parent31b40448fd4a08032f562ce171a66c6952370f60 (diff)
Merge branch 'update-language-detect-plugin' of tschuettler/tt-rss into master
Diffstat (limited to 'plugins/af_lang_detect/init.php')
-rw-r--r--plugins/af_lang_detect/init.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_lang_detect/init.php b/plugins/af_lang_detect/init.php
index e78741319..3ec0023b6 100644
--- a/plugins/af_lang_detect/init.php
+++ b/plugins/af_lang_detect/init.php
@@ -4,7 +4,7 @@ class Af_Lang_Detect extends Plugin {
private $lang;
function about() {
- return array(1.0,
+ return array(1.1,
"Detect article language",
"fox");
}
@@ -14,7 +14,7 @@ class Af_Lang_Detect extends Plugin {
$host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
- require_once __DIR__ . "/languagedetect/LanguageDetect.php";
+ require_once __DIR__ . "/languagedetect/Text/LanguageDetect.php";
$this->lang = new Text_LanguageDetect();
$this->lang->setNameMode(2);