mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Reduce the transfered image size when using SQLite
https://github.com/webbukkit/dynmap/issues/2415
This commit is contained in:
parent
648e11bb53
commit
7f8f44737e
@ -97,7 +97,7 @@ if (isset($row[1])) {
|
||||
}
|
||||
header('ETag: \'' . $row[2] . '\'');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $row[3]/1000) . ' GMT');
|
||||
echo $row[0];
|
||||
echo rtrim($row[0], "\0");
|
||||
}
|
||||
else {
|
||||
header('Location: ../images/blank.png');
|
||||
|
Loading…
Reference in New Issue
Block a user