Skip to content

Commit

Permalink
Merge pull request #14 from michael-e/master
Browse files Browse the repository at this point in the history
Fix issue #13
  • Loading branch information
brendo committed Aug 3, 2011
2 parents cc79a38 + ff6e2e4 commit 5c81312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ function __errorHandler($errno=NULL, $errstr, $errfile=NULL, $errline=NULL, $err
trigger_error(sprintf('Image <code>%s</code> could not be found.', array($image_path)), E_USER_ERROR);
}
else{
$meta = Image::getMetaInformation($image_path);
$meta = Image::getMetaInformation($cache_file);
Image::renderOutputHeaders($meta->type);
readfile($image_path);
readfile($cache_file);
}
exit;
}
Expand Down

0 comments on commit 5c81312

Please sign in to comment.