mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Comment fix
This commit is contained in:
parent
b493476b5d
commit
391efeb72b
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ register_module([
|
||||||
header("content-disposition: inline; filename=\"$shortFilename\"");
|
header("content-disposition: inline; filename=\"$shortFilename\"");
|
||||||
header("last-modified: " . gmdate('D, d M Y H:i:s T', $pageindex->{$env->page}->lastmodified));
|
header("last-modified: " . gmdate('D, d M Y H:i:s T', $pageindex->{$env->page}->lastmodified));
|
||||||
|
|
||||||
// If the size is set or original, then send (or redirect to) the original image
|
// If the size is set to original, then send (or redirect to) the original image
|
||||||
// Also do the same for SVGs if svg rendering is disabled.
|
// Also do the same for SVGs if svg rendering is disabled.
|
||||||
if(isset($_GET["size"]) and $_GET["size"] == "original" or
|
if(isset($_GET["size"]) and $_GET["size"] == "original" or
|
||||||
(empty($settings->render_svg_previews) && $mime_type == "image/svg+xml"))
|
(empty($settings->render_svg_previews) && $mime_type == "image/svg+xml"))
|
||||||
|
|
Loading…
Reference in a new issue