Security concerning error messages

vbb forum give pretty detailed warning message in some errors, including permission denial and others, for example:

Warning: move_uploaded_file(attachment/06ec991d60c139c2450513161452cc14): failed to open stream: Permission denied in /XXX/XX/XXX/functions_file.php on line 204

Those warnings give out the physical directory of the files involved, which I feel a bit unsafe. Wonder if there's some way to optimize those kind of error messages?

 

 

 

 

Top