PHP 4.0 Bug #4766 Updated: function "require" ignore directory change with chdir
| From: | Bug Database | Date: | Fri, 02 Jun 2000 10:19:08 +0000 |
| Subject: | PHP 4.0 Bug #4766 Updated: function "require" ignore directory change with chdir | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20033@lists.php.net to get a copy of this message | ||
ID: 4766
Updated by: stas
Reported By: xrr@altern.org
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
This because require is executed on compile-stage, and chdir - on execute-stage.
Use include_path or point to real path (if you know where to chdir, you know where to include).
Full Bug description available at: http://bugs.php.net/version4/?id=4766