Date: 03/15/01
- Next message: adam <email protected>: "[PHP-DEV] PHP 4.0 Bug #9766: IRCG trouble"
- Previous message: kalowsky <email protected>: "[PHP-DEV] PHP 4.0 Bug #9762 Updated: compiling fails with ZTS and imap (imap2000) support enabled"
- In reply to: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
stas <email protected> wrote:
> Now, all relative pathes are resolved against the current
> directory of the including script (which is the directory
> where it's located). This is a known issue. Use
> include_pathes in the meantime.
what about having a __DIR__ macro similar __FILE__ that is
the dirname of the current file so that one can use
include __DIR__."/whatever.inc"
-- Hartmut Holzgraefe hartmut <email protected> http://www.six.de +49-711-99091-77Besuchen Sie uns auf der CeBIT 2001 - in Halle 6 Stand F62/4
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: adam <email protected>: "[PHP-DEV] PHP 4.0 Bug #9766: IRCG trouble"
- Previous message: kalowsky <email protected>: "[PHP-DEV] PHP 4.0 Bug #9762 Updated: compiling fails with ZTS and imap (imap2000) support enabled"
- In reply to: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

