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;
|
||||
|
||||
if (file_exists($pgfile)){
|
||||
$pdfile = '/pages/'.$pgfile;
|
||||
$pdfile = '/pages/'.$hash.'/'.$hash.'-'.$page.'.pdf';
|
||||
}
|
||||
elseif (file_exists($cachefile)){
|
||||
$pdfile = '/pdf/'.$namefile;
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
pageRendering = false,
|
||||
pageNumPending = null,
|
||||
nexturl = '<?=$nexturl?>',
|
||||
prevurl = '<?=$prevurl?>';
|
||||
pgfile = '<?=$pgfile?>';
|
||||
prevurl = '<?=$prevurl?>';
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user