From 6339ef18d0758ae30552ea901b5f5599663abdb4 Mon Sep 17 00:00:00 2001 From: zyx0814 Date: Mon, 11 Jul 2022 17:03:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpdf=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dzz/pdf/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzz/pdf/index.php b/dzz/pdf/index.php index 3cccfe1..7461753 100644 --- a/dzz/pdf/index.php +++ b/dzz/pdf/index.php @@ -20,7 +20,7 @@ if($_GET['src']){ $resourcesdata = C::t('pichome_resources')->fetch($rid); $appdata = C::t('pichome_vapp')->fetch($resourcesdata['appid']); - $downloadperm = C::t('pichome_vapp')->getpermbypermdata($appdata['download'],'download'); + $downloadperm =(getglobal('adminid') == 1) ? 1:0; if($downloadperm){ $perm_download=1; $perm_print=1;