]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_lang_detect/init.php
Update af_lang_detect plugin with changes from upstream
[tt-rss.git] / plugins / af_lang_detect / init.php
index e78741319514c81bbedec7cfd08f85a74b0dd3ba..3ec0023b669c20b405f3c7275802f32ae6bacff0 100644 (file)
@@ -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);