On Wed, 12 Feb 2003, Gabor Hojtsy wrote:

> >>>what is function.main? it keeps popping up on my requires and links to =
> >>>yoru site but nuthin' happens
> >>
> >>That is if I understand correctly a link in an error message. So either 
> >>PHP needs to hide that link in error messages, or the function.main 
> >>shortcut shuold point to somewhere on the homepage, explaining what is 
> >>function.main....
> > 
> > This was fixed in CVS awhile ago (4.3.1) and now points to the
> > proper docs.  See: http://bugs.php.net/bug.php?id=21499
> 
> How was that fixed? Will there be any links with those errors for 
> function.main but for a different page, or no links? I think it would be 
> nice to make http://php.net/function.main show something (preferably the 
> same thing that this fixed error message points to), if applicable...

It was fixed in that it will link to documention for include()
or require() (depending on the error) instead of main().  So, 
it links to different yet more appropriate pages now.

Not sure if/what other errors cause a link to here but I
agree we may as well create a dummy page for main() with
some hopefully helpful information.  I just comitted main.xml
in /info/ so have a look, comments welcome.

Regards,
Philip




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to