diff options
author | tschuettler <[email protected]> | 2018-08-02 17:23:14 +0200 |
---|---|---|
committer | tschuettler <[email protected]> | 2018-08-02 18:00:50 +0200 |
commit | 31b40448fd4a08032f562ce171a66c6952370f60 (patch) | |
tree | 984bd0fd2c46e8ead30b3e3dfe9cc1d814f002c3 /plugins/af_lang_detect/init.php | |
parent | c925f4e3fdad04442c5c2f542883dbd26c81cc23 (diff) |
Update af_lang_detect plugin with changes from upstream
Reapplied downstream changes for phpmd ruleset
Diffstat (limited to 'plugins/af_lang_detect/init.php')
-rw-r--r-- | plugins/af_lang_detect/init.php | 4 |
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); |