Issue Bug Closed

#21173Replace "Warning: filemtime(): stat failed" with a nice error message

Steffen Gebert 10/01/09, 22:41 updated 08/06/10, 13:30

Description

If a file in uploads/ folder is missing, but referenced in a content element
a) PHP warning appears (and may break layout), if display_errors is enabled
b) no hint is given to the user

So add a check, weather the file really exists and output a warning otherwise.

(issue imported from #M12099)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.