note 28009 added to function.include
| From: | sam_at_caveman_dot_org at rack1 dot php dot net | Date: | Sun, 29 Dec 2002 19:35:24 +0000 |
| Subject: | note 28009 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41425@lists.php.net to get a copy of this message | ||
PHP 4.3.0 broke the use of a leading slash "/" in include and require.
E.g., you have your include_path set with "/my/path" and one of your PHP pages issues a
"include/foo/bar.php", on PHP 4.2.3 and earlier, if "/my/path/foo/bar.php"
existed it was used. However with PHP 4.3.0, you cannot use the leading slash, and "include
foo/bar.php" finds the same file.
This is the kind of regression that really frustrates me!
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+28009
http://master.php.net/manage/user-notes.php?action=delete+28009
http://master.php.net/manage/user-notes.php?action=reject+28009