From: Alan Knowles Date: Tue, 20 Aug 2019 09:13:23 +0000 (+0800) Subject: allow new download code to work with images X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=bad8403468109e77a49f30146b04ae8e0e6398e4 allow new download code to work with images --- diff --git a/Images.php b/Images.php index 4d2fd145..2ce354b2 100644 --- a/Images.php +++ b/Images.php @@ -227,6 +227,9 @@ class Pman_Core_Images extends Pman function post($v) { + if (empty($_REQUEST['_get'])) { + return $this->get($v); + } if (!$this->authUser) { $this->jerr("image conversion only allowed by registered users");