Hi thank you. this one of the best post as many posts did not solve this.
$dir1 = '/en-GB/service/training/index_serv.php';
$dir2 = '/classes/class1';
'/application' . PATH_SEPARATOR . '/library' . PATH_SEPARATOR . get_include_path()
How to store PATH in variable?
How to make code like on apache on the same server not application within folders as in variable $dir1?