[PHP] Function links on error and warningmessages
Hi guys, I was wondering some time ago, why the links which are shown on error or warning (E_WARNING etc.) show relative links to an usually non-existing file. Wouldn't it be much more useful if all errors are linking to the function description on php.net? So, if I get an error with file_exists, for example, it links on myCurrentDir/function.file-exists.php. Wouldn't it be nice if it links to http://php.net/file_exists? Regards, Flo
RE: [PHP] Function links on error and warningmessages
-Original Message- From: Florian Müller [mailto:florip...@hotmail.com] Sent: 03 February 2012 14:36 Hi guys, I was wondering some time ago, why the links which are shown on error or warning (E_WARNING etc.) show relative links to an usually non-existing file. Because you haven't set the docref_root configuration option? (See http://php.net/errorfunc.configuration.php#ini.docref-root). Cheers! Mike -- Mike Ford, Electronic Information Developer, Libraries and Learning Innovation, Portland PD507, City Campus, Leeds Metropolitan University, Portland Way, LEEDS, LS1 3HE, United Kingdom E: m.f...@leedsmet.ac.uk T: +44 113 812 4730 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Function links on error and warningmessages
On Fri, Feb 3, 2012 at 4:35 PM, Ford, Mike m.f...@leedsmet.ac.uk wrote: -Original Message- From: Florian Müller [mailto:florip...@hotmail.com] Sent: 03 February 2012 14:36 Hi guys, I was wondering some time ago, why the links which are shown on error or warning (E_WARNING etc.) show relative links to an usually non-existing file. Because you haven't set the docref_root configuration option? (See http://php.net/errorfunc.configuration.php#ini.docref-root). Cheers! Mike While that's indeed correct, I wonder why the docref_root isn't set by default (eg. www.php.net)? - Matijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php