#19548 [NEW]: opendir() not "using" include_path

From: Date: Sun, 22 Sep 2002 12:03:17 +0000
Subject: #19548 [NEW]: opendir() not "using" include_path
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20037@lists.php.net to get a copy of this message
From: black@php.net Operating system: debian linux PHP version: 4.2.3 PHP Bug Type: *Directory/Filesystem functions Bug description: opendir() not "using" include_path 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 bug report at http://bugs.php.net/?id=19548&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19548&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19548&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19548&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19548&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19548&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19548&r=support Expected behavior: http://bugs.php.net/fix.php?id=19548&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19548&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19548&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19548&r=globals

« previous php.bugs (#20037) next »