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