From:             php at richard-fila dot co dot uk
Operating system: Windows & Linux
PHP version:      Irrelevant
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  Include Paths

Description:
------------
When including a file the handling of paths differs between linux and
windows.



When including a file from a file which has already been included the
second level include paths are different.  Windows recalculates the ./
path for each included script while linux just uses the ./ path from the
first script accessed.  This means relative paths cannot be used.



Obviously the windows method is the correct one.


-- 
Edit bug report at http://bugs.php.net/?id=27308&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27308&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27308&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27308&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27308&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27308&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27308&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27308&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27308&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27308&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27308&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27308&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27308&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27308&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27308&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27308&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27308&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27308&r=float

Reply via email to