мне нужно require_once
эти файлы main.class.php
и functions.php
и config.php
до admin/test.php
. как найти php, требуется реальный путь?!
ПРИМЕЧАНИЕ: main.class.php
в class folder
, functions.php
в includes folder
и config.php
в каталоге root
и test.php
в admin folder
.
Каталог файлов:
root
/admin/
->test.php
/class/
->main.class.php
/includes/
->functions.php
/templates
config.php
phpinfo.php
/root
в ваш include_path, тогда это простоrequire('class/main.class.php')
и так далее? - person Marc B   schedule 02.04.2013