Tim Van Wassenhove home

PHP has a feature to change the include_path programatically. The problem is that the path separator is : on unix and ; on windows. Luckily there is a constant PATH_SEPARATOR to overcome this issue. Here is how i would do it

ini_set('error_reporting', E_ALL);
ini_set('display_errors', TRUE);

$include_paths = array(

ini_set('include_path', implode(PATH_SEPARATOR, $include_paths));