add page cache pdf files
This commit is contained in:
@@ -41,7 +41,7 @@ function read_kuri($hash, $page = 1, $scale = 1.5, $promo = false){
|
||||
}
|
||||
|
||||
$namefile = $hash.'.pdf';
|
||||
$cachefile = PDFDIR.$namefile;
|
||||
$cachefile = PDFDIR.$hash.'-'.$page.'.pdf';
|
||||
|
||||
if (file_exists($cachefile)){
|
||||
$pdfile = '/'.$namefile;
|
||||
|
||||
Reference in New Issue
Block a user