mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +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('ETag: \'' . $row[2] . '\'');
|
||||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $row[3]/1000) . ' GMT');
|
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $row[3]/1000) . ' GMT');
|
||||||
echo $row[0];
|
echo rtrim($row[0], "\0");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
header('Location: ../images/blank.png');
|
header('Location: ../images/blank.png');
|
||||||
|
Loading…
Reference in New Issue
Block a user