header jpeg instead of jpg
This commit is contained in:
parent
f68dd54ef5
commit
d764ef189b
@ -66,7 +66,7 @@ class HEADER {
|
|||||||
public static function JPG(){
|
public static function JPG(){
|
||||||
if(self::checkHeader()){
|
if(self::checkHeader()){
|
||||||
header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + (60 * 60 * 24 * 7))); // 1 week
|
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
|
* Send JPEG Headers, if Header was not sent yet
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user