correct segment path
This commit is contained in:
@@ -45,7 +45,7 @@ function read_kuri($hash, $page = 1, $scale = 1.5, $promo = false){
|
|||||||
$cachefile = PDFDIR.$namefile;
|
$cachefile = PDFDIR.$namefile;
|
||||||
|
|
||||||
if (file_exists($pgfile)){
|
if (file_exists($pgfile)){
|
||||||
$pdfile = '/pages/'.$pgfile;
|
$pdfile = '/pages/'.$hash.'/'.$hash.'-'.$page.'.pdf';
|
||||||
}
|
}
|
||||||
elseif (file_exists($cachefile)){
|
elseif (file_exists($cachefile)){
|
||||||
$pdfile = '/pdf/'.$namefile;
|
$pdfile = '/pdf/'.$namefile;
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
pageRendering = false,
|
pageRendering = false,
|
||||||
pageNumPending = null,
|
pageNumPending = null,
|
||||||
nexturl = '<?=$nexturl?>',
|
nexturl = '<?=$nexturl?>',
|
||||||
prevurl = '<?=$prevurl?>';
|
prevurl = '<?=$prevurl?>';
|
||||||
pgfile = '<?=$pgfile?>';
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user