How to set an absolute include path?
| From: | Brian Dunning | Date: | Mon, 27 Dec 2004 16:27:25 +0000 |
| Subject: | How to set an absolute include path? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205207@lists.php.net to get a copy of this message | ||
Is there a command that will set the include path to the web server root?
I'm trying to set up a directory structure where include files will be called from all different folder depths, so I'll need to call them absolutely like:
include('/includes/file.php');
where the above will work no matter from which level it's called. Thanks...
- Brian