![]() |
|
|
+ Search |
![]()
|
May 21st, 2004 12:33
Julio Nobrega, Jason Bryner,
Use the ini_set() function, or set_include_path()
1) ini_set('include_path', '/var/www/') |
http://br.php.net/manual/en/configuration.directives.php#ini.include-path
This function requires the command that you're setting, in our case,
"include_path", and then the complete path as the second argument.
2) set_include_path('/var/www/') | http://www.php.net/set_include_path
It has only one argument, the path.