add correct download link
This commit is contained in:
@@ -24,7 +24,7 @@ function bookid_kuri($slug) {
|
|||||||
$book['pic'] = IMGSRV."price/300x470/{$book['price_id']}.{$book['priceimg']}";
|
$book['pic'] = IMGSRV."price/300x470/{$book['price_id']}.{$book['priceimg']}";
|
||||||
$book['links']['pdf'] = SITE.'read/'.$book['pricehash'];
|
$book['links']['pdf'] = SITE.'read/'.$book['pricehash'];
|
||||||
$book['links']['text'] = SITE.'readtext/'.$book['pricehash'];
|
$book['links']['text'] = SITE.'readtext/'.$book['pricehash'];
|
||||||
$file = PDFSOURCE."${$book['price_id']}.pdf";
|
$file = PDFSOURCE.$book['price_id'].'.pdf';
|
||||||
$download = pdfs_init($file ,1);
|
$download = pdfs_init($file ,1);
|
||||||
$book['links']['download'] = $download;
|
$book['links']['download'] = $download;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user