From 57243a9584ba8a965d6272fa47adf21b6b21aafe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Jun 2015 11:53:56 +0300 Subject: [PATCH] af_lang_detect: fix dependency includes --- plugins/af_lang_detect/languagedetect/LanguageDetect.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/af_lang_detect/languagedetect/LanguageDetect.php b/plugins/af_lang_detect/languagedetect/LanguageDetect.php index 36ebacf93..0856571bf 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