Remove C:\inetput\... from php errors -


how remove part of directory path before actual php script when showing php errors?

for instance:

php fatal error:  uncaught exception 'runtimeexception' message 'unable load system boot file' in c:\inetpub\ruby\public_html\websites\local\index.php:8 

i rather have show path: ..\websites\local\index.php:8 (in addition rest of error message of course).

i realize should not show these errors on public or non-development server, increase readability of these errors during development.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -