PHP include не работает с файлами, отличными от индекса

Итак, вот моя проблема:

У меня есть index.php в корневом каталоге в htdocs xampp. Целью этого является логин пользователя. После входа в систему он перенаправляется в игру / index.php, где у меня два:

<?php include('/game/components/language_declaration.php'); include('/game/components/currency/userdata_func.php'); ?> 

Вот список каталогов:

 index.php (which redirects to index below) ---/game/index.php (includes work) ---/game/units.php (the same includes dont work) ---/game/components/language_declaration.php ---/game/components/currency/userdata_func.php 

В этом индексе есть ссылка, которая указывает на units.php. И есть то же самое в unit.php, за исключением того, что они не работают. Это ошибка, которую я получаю:

 Warning: include(/game/components/language_declaration.php): failed to open stream: No such file or directory in E:\xampp\htdocs\game\units.php on line 7 Warning: include(): Failed opening '/game/components/language_declaration.php' for inclusion (include_path='.;\xampp\php\PEAR') in E:\xampp\htdocs\game\units.php on line 7 Warning: include(/game/components/currency/userdata_func.php): failed to open stream: No such file or directory in E:\xampp\htdocs\game\units.php on line 8 Warning: include(): Failed opening '/game/components/currency/userdata_func.php' for inclusion (include_path='.;\xampp\php\PEAR') in E:\xampp\htdocs\game\units.php on line 8 

Я прочитал около 20 сообщений об этой проблеме, каждый из которых посоветовал изменить путь, я попытался добавить точки, слэши и т. Д., Даже определяя корневую директорию. Никто не работал. Не могли бы вы мне помочь, пожалуйста?

Related of "PHP include не работает с файлами, отличными от индекса"