From: edward Date: Thu, 10 May 2018 08:09:31 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=13a5d9c9e497f9f6c2779d7810e3b6f31802e3bc Images.php --- diff --git a/Images.php b/Images.php index 63165b46..7829ee53 100644 --- a/Images.php +++ b/Images.php @@ -186,9 +186,10 @@ class Pman_Core_Images extends Pman } - print_r('run??');exit; + if(!$this->hasPermission($img)){ + print_R('test?');exit; $this->imgErr("access to this image/file has been denied.",$s); }