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
Post a Comment