PHP 4.0 Bug #6336 Updated: setting include_path breaks top index.php

From: Date: Thu, 31 Aug 2000 01:05:23 +0000
Subject: PHP 4.0 Bug #6336 Updated: setting include_path breaks top index.php
Groups: php.dev 
Request: Send a blank email to php-dev+get-31365@lists.php.net to get a copy of this message
ID: 6336 Updated by: jmoore Reported By: peter.kocks@bayagte.com Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: FW On behalf of Peter Kocks: Yes, ".:" does work in almost every case. The case where it does not is when there is a chdir() in a auto prepend file. However, the real point of this bug report has to do with backwards compatibility, documentation, and error messages. Compatibility: Changes in behavior should be announced in some formal place. So, when people upgrade they can check for potential problems. Documentation: the php.ini-dist should be changed to suggest you put in a ".:" in the include_path(). Error message: Should be more informative in the case where the script_name is not accessible via the include path. If it is the script name, say something about "." in path or something. Full Bug description available at: http://bugs.php.net/?id=6336

« previous php.dev (#31365) next »