reverse pdf file

This commit is contained in:
Andrey Kuvshinov
2020-04-23 18:19:11 +03:00
parent 08c0f274a4
commit ac2da036ee
3 changed files with 3 additions and 3 deletions

View File

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