PHP 4.0 Bug #2700: include/require paths different
| From: | pfaffman at relax dot com | Date: | Thu, 11 Nov 1999 23:15:30 +0000 |
| Subject: | PHP 4.0 Bug #2700: include/require paths different | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12300@lists.php.net to get a copy of this message | ||
From: pfaffman@relax.com
Operating system: Linux
PHP version: 4.0 Beta 2
PHP Bug Type: Documentation problem
Bug description: include/require paths different
One incompatibility that I didn't see documented anywhere is that under php3, require (and I
suppose include) would first look in the current directory. In PHP4, you must explicitly put a
"." in the include path if you want the current directory checked first. This broke my
main application until I figured out that it was getting the wrong head.php3. . .
Thanks.