#46801 [Opn->Bgs]: include() searches wrong directory according to the doc

From: Date: Tue, 09 Dec 2008 12:53:17 +0000
Subject: #46801 [Opn->Bgs]: include() searches wrong directory according to the doc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131815@lists.php.net to get a copy of this message
ID: 46801 Updated by: jani@php.net Reported By: tomas at matfyz dot cz -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Linux PHP Version: 5.2.0 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #46395 Previous Comments: ------------------------------------------------------------------------ [2008-12-08 23:04:31] tomas at matfyz dot cz I'm sorry, I don't have access to newer version of PHP, I'm not a PHP developer. I can use only what my webhosting provider has, which is only older stable versions. But if you provide me with FTP access to some of your testing servers, I can test it. ------------------------------------------------------------------------ [2008-12-08 22:27:38] jani@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2008-12-08 20:40:15] tomas at matfyz dot cz Note that I would appreciate the behaviour described in the documentation. It seems more logical and more useful than the current behaviour, because there is a risk that local file will override the internal file in the 'include/' dir! The libraries (in this case the sources under 'include/' dir) are compact sets of sources which include themselves and of course do not take into account the files in the user's dir. ------------------------------------------------------------------------ [2008-12-08 19:57:23] tomas at matfyz dot cz I can't help it, the link is being wrapped by this website, you must re-construct it. ------------------------------------------------------------------------ [2008-12-08 19:56:12] tomas at matfyz dot cz Sorry, the correct link is http://artax.karlin.mff.cuni.cz/~ttel5535/obs/pok_require_dirs3/report/www/use.php ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/46801 -- Edit this bug report at http://bugs.php.net/?id=46801&edit=1

« previous php.bugs (#131815) next »