#19548 [Opn]: opendir() not "using" include_path
| From: | black@php.net | Date: | Sun, 22 Sep 2002 12:10:38 +0000 |
| Subject: | #19548 [Opn]: opendir() not "using" include_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20038@lists.php.net to get a copy of this message | ||
ID: 19548
Updated by: black@php.net
Reported By: black@php.net
Status: Open
Bug Type: *Directory/Filesystem functions
Operating System: debian linux
PHP Version: 4.2.3
New Comment:
ughm, even with the prefixed path it doesnt work. i have a+r and a+x
all the way on directories, any hints?
Previous Comments:
------------------------------------------------------------------------
[2002-09-22 07:03:17] black@php.net
i have a page in:
/home/web/sunshine.krneki.org/
in the code i have various stuff to load all .php files from a given
directory, the problem is the following:
if i do include("modules/content/forum/lang/en/index.php"); it will
ofcourse load the file, if i do an opendir() on
"modules/content/forum/lang/en/" i dont get a file/directory list from
it, but if i prefix the relative path with
/home/web/sunshine.krneki.org/ it works fine
this leaves me to believe that opendir() doesnt follow the include_path
directive
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19548&edit=1