i need to require_once
this files main.class.php
and functions.php
and config.php
to admin/test.php
. how to php find require real path?!
NOTE: main.class.php
in class folder
, functions.php
in includes folder
and config.php
in root
directory and test.php
in admin folder
.
File Directory:
root
/admin/
->test.php
/class/
->main.class.php
/includes/
->functions.php
/templates
config.php
phpinfo.php