From: Andrew Dolgov Date: Fri, 19 Jun 2015 08:53:56 +0000 (+0300) Subject: af_lang_detect: fix dependency includes X-Git-Tag: 16.3~271^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=57243a9584ba8a965d6272fa47adf21b6b21aafe;p=tt-rss.git af_lang_detect: fix dependency includes --- diff --git a/plugins/af_lang_detect/languagedetect/LanguageDetect.php b/plugins/af_lang_detect/languagedetect/LanguageDetect.php index 36ebacf9..0856571b 100644 --- a/plugins/af_lang_detect/languagedetect/LanguageDetect.php +++ b/plugins/af_lang_detect/languagedetect/LanguageDetect.php @@ -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