1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

Comment fix

This commit is contained in:
Starbeamrainbowlabs 2018-02-05 15:10:35 +00:00
parent b493476b5d
commit 391efeb72b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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"))