summaryrefslogtreecommitdiff
path: root/plugins/af_lang_detect/init.php
diff options
context:
space:
mode:
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);