#19548 [Opn->Bgs]: opendir() not "using" include_path
ID: 19548
Updated by: iliaa@php.net
Reported By: black@php.net
-Status: Open
+Status: Bogus
Bug Type: *Directory/Filesystem functions
Operating System: debian linux
PHP Version: 4.2.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
include_path only pertains to the openning of files and not
directories.
Previous Comments:
------------------------------------------------------------------------
[2002-09-22 07:10:38] black@php.net
ughm, even with the prefixed path it doesnt work. i have a+r and a+x
all the way on directories, any hints?
------------------------------------------------------------------------
[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
Thread (4 messages)