correct segment path

This commit is contained in:
Andrey Kuvshinov
2020-04-23 22:00:17 +03:00
parent 9c4c04312a
commit 67ddf0748e
2 changed files with 2 additions and 3 deletions

View File

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

View File

@@ -17,7 +17,6 @@
pageNumPending = null,
nexturl = '<?=$nexturl?>',
prevurl = '<?=$prevurl?>';
pgfile = '<?=$pgfile?>';
</script>