1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-09 09:36:38 +02:00

improving error handling when opening (non)-recoverable images

This commit is contained in:
Mikael Roos
2014-08-21 02:23:15 +02:00
parent fb261b1b05
commit 8dde82993b

View File

@@ -797,7 +797,7 @@ class CImage
public function failedToLoad()
{
header("HTTP/1.0 404 Not Found");
echo("Fatal error when opening image.<br>");
echo("CImage.php says 404: Fatal error when opening image.<br>");
switch ($this->fileExtension) {
case 'jpg':