From a9a7571a2399497ec0738273d94953e0069934ec Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Thu, 23 Apr 2020 21:34:32 +0300 Subject: [PATCH] new path PDF --- app/modules/anpdf/anpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/anpdf/anpdf.php b/app/modules/anpdf/anpdf.php index 4e77503..1118c26 100644 --- a/app/modules/anpdf/anpdf.php +++ b/app/modules/anpdf/anpdf.php @@ -44,7 +44,7 @@ function read_kuri($hash, $page = 1, $scale = 1.5, $promo = false){ $cachefile = PDFDIR.$namefile; if (file_exists($cachefile)){ - $pdfile = '/'.$namefile; + $pdfile = '/pdf/'.$namefile; } else { $pdfile = '/file/'.$hash;