Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once() From: Stanislav Malyshev (stas <email protected>)
Date: 03/15/01

HH>> what about having a __DIR__ macro similar __FILE__ that is
HH>> the dirname of the current file so that one can use
HH>>
HH>> include __DIR__."/whatever.inc"

That's nice idea, I think. Andi, Zeev - what do you say on this?

-- 
Stanislav Malyshev, Zend Products Engineer
stas <email protected>  http://www.zend.com/ +972-3-6139665 ext.115

-- 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>