php question
Hi!
I have the following problem. Let's say i'm includig "/phpBB2/index.php" in my php script. This script lies in /mysite/ Now, how can I change the root directory?(you know phpbb include paths are relative)? For example it tries to include "./whatever.php" but it's searching it in /mysite/. pleas help. Thanx |
If you have root access, set the include_path option in php.ini. However I think a path starting by / will be handled as absolute (not sure if from site root or actual host '/')
|
All times are GMT -5. The time now is 09:05 AM. |