Skip to content

Commit b0a2364

Browse files
committed
Optimize Image serving
1 parent 276a7e6 commit b0a2364

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
2.8.4
2-
2.8
1+
2.9.0
2+
2.9
33
2

php/classes/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Config {
8585
/**
8686
* The system's version.
8787
*/
88-
const VERSION = 'v2.8.4';
88+
const VERSION = 'v2.9.0-alpha';
8989

9090
/**
9191
* The real domain which should be used.

php/image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
finfo_close($finfo);
4545

4646
//Header
47-
header( 'Content-type: '.$mimetype.'; charset=utf-8' );
47+
header( 'Content-Type: '.$mimetype );
4848
header( 'Content-Disposition: inline; filename="'.$namehash.'.image"' );
4949
header( 'Content-Length: '.$filesize);
5050

0 commit comments

Comments
 (0)