header jpeg instead of jpg

This commit is contained in:
Ulf Gebhardt 2017-04-02 02:11:58 +02:00
parent f68dd54ef5
commit d764ef189b

View File

@ -66,7 +66,7 @@ class HEADER {
public static function JPG(){
if(self::checkHeader()){
header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + (60 * 60 * 24 * 7))); // 1 week
header('content-type:image/jpg');}}
header('content-type:image/jpeg');}}
/**
* Send JPEG Headers, if Header was not sent yet
*