ID:               36160
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ovdspek at liacs dot nl
-Status:           Open
+Status:           Feedback
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      5.1.2
 New Comment:

What makes you think it's not relative to the current script?


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

[2006-01-25 22:59:22] ovdspek at liacs dot nl

It's not.
And if you're sure it is, could you update the documentation?

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

[2006-01-25 22:56:56] [EMAIL PROTECTED]

It is.

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

[2006-01-25 22:55:25] ovdspek at liacs dot nl

Description:
------------
http://php.net/include/

> then in include_path relative to the directory of current script. 
> If filename begins with ./ or ../, it is looked only in include_path
relative to the current working directory. 

Could the 'relative to the current script' also be applied to
includes/requires that start with ../?

Reproduce code:
---------------
include('../common.php');

Expected result:
----------------
-

Actual result:
--------------
-


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


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

Reply via email to