Re: cvs: phpweb / get_download.php
| From: | Gabor Hojtsy | Date: | Fri, 16 May 2003 08:35:41 +0000 |
| Subject: | Re: cvs: phpweb / get_download.php | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17736@lists.php.net to get a copy of this message | ||
> > david Thu May 15 14:42:09 2003 EDT
> >
> > Modified files:
> > /phpweb get_download.php
> > Log:
> > back out rasmus' include_path fix on this file, presumably it's using
mod_rewrite or something
>
> Ah, this page can end up getting loaded by the 404 handler sitting in
> /error/index.php and then the relative path will be wrong. There is
> really no good reason the error handler needs to be in a different
> directory. Should probably just be /error.php instead.
Yep. And we can also use dirname(__FILE__) . "/include/something.inc"
in case we need dynamic path without stat()s
Goba