#27308 [Opn->Bgs]: Include Paths

From: Date: Wed, 18 Feb 2004 22:52:26 +0000
Subject: #27308 [Opn->Bgs]: Include Paths
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-55168@lists.php.net to get a copy of this message
ID: 27308 Updated by: iliaa@php.net Reported By: php at richard-fila dot co dot uk -Status: Open +Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: Windows & Linux PHP Version: Irrelevant 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 The behavior is different for ZTS and non-zts modes. Previous Comments: ------------------------------------------------------------------------ [2004-02-18 05:51:38] php at richard-fila dot co dot uk 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 this bug report at http://bugs.php.net/?id=27308&edit=1

« previous php.bugs (#55168) next »