ID:               31092
 User updated by:  groenendijk at frg dot eur dot nl
 Reported By:      groenendijk at frg dot eur dot nl
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: linux
 PHP Version:      4.3.9
 New Comment:

rebooted server,
some strange dependency problem because it was fixed afterwards


Previous Comments:
------------------------------------------------------------------------

[2004-12-14 17:28:37] groenendijk at frg dot eur dot nl

Description:
------------
this is a bug similar to #30188

my current dir is a symlink to another directory:
/www/html/userfiles/groenendijk -> /mnt/somedrive/html

open_basedir has value:
".:/usr/local/sharedfunc"

when i call a script like this:
<%
include './test2.php';
%>

i get the following
Warning: main(): Failed opening './test2.php' for inclusion
(include_path='.:/usr/local/sharedfunc') in
/www/html/userfiles/groenendijk/test1.php on line xx

In my opinion this should be working.

Expected result:
----------------
i expect includes to the current directory to work
even if this current directory is a symlink

Actual result:
--------------
Warning: main(): Failed opening './test2.php' for inclusion
(include_path='.:/usr/local/sharedfunc') in
/www/html/userfiles/groenendijk/test1.php on line xx



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31092&edit=1

Reply via email to