note 72007 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:01:40 +0000 |
| Subject: | note 72007 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155470@lists.php.net to get a copy of this message | ||
Note Submitter: Nathan Ostgard
----
I have to agree with sean dot farrell at digital-egg dot org.
If I put "../" or "./" in a call to include(), I expect it to be relative to the
file I am including from, not the current working directory of the application.
This backwards mentality for relative paths really interferes with PHP's ability to build
packages of files independent of an application.