]> git.wh0rd.org Git - tt-rss.git/commitdiff
af_lang_detect: fix dependency includes
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 19 Jun 2015 08:53:56 +0000 (11:53 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 19 Jun 2015 08:53:56 +0000 (11:53 +0300)
plugins/af_lang_detect/languagedetect/LanguageDetect.php

index 36ebacf93dbbb2b5893c8bbf179460e838402d57..0856571bf7422deb4164eb053a41279957464ce9 100644 (file)
@@ -21,9 +21,9 @@
  * @link      http://langdetect.blogspot.com/
  */
 
-require_once 'lib/languagedetect/Text/LanguageDetect/Exception.php';
-require_once 'lib/languagedetect/Text/LanguageDetect/Parser.php';
-require_once 'lib/languagedetect/Text/LanguageDetect/ISO639.php';
+require_once __DIR__ . '/Text/LanguageDetect/Exception.php';
+require_once __DIR__ . '/Text/LanguageDetect/Parser.php';
+require_once __DIR__ . '/Text/LanguageDetect/ISO639.php';
 
 /**
  * Language detection class