new path PDF

This commit is contained in:
Andrey Kuvshinov
2020-04-23 21:34:32 +03:00
parent ac2da036ee
commit a9a7571a23

View File

@@ -44,7 +44,7 @@ function read_kuri($hash, $page = 1, $scale = 1.5, $promo = false){
$cachefile = PDFDIR.$namefile; $cachefile = PDFDIR.$namefile;
if (file_exists($cachefile)){ if (file_exists($cachefile)){
$pdfile = '/'.$namefile; $pdfile = '/pdf/'.$namefile;
} }
else { else {
$pdfile = '/file/'.$hash; $pdfile = '/file/'.$hash;