From 13a5d9c9e497f9f6c2779d7810e3b6f31802e3bc Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 10 May 2018 16:09:31 +0800 Subject: [PATCH] Images.php --- Images.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.2