add absolute link

This commit is contained in:
Andrey Kuvshinov
2020-05-13 00:06:40 +03:00
parent 08fb14d436
commit 18d7716be5

View File

@@ -235,7 +235,7 @@ function clientbooks($books){
foreach($books as $book){ foreach($books as $book){
$book['pic'] = IMGSRV."price/180x280/{$book['price_id']}.{$book['priceimg']}"; $book['pic'] = IMGSRV."price/180x280/{$book['price_id']}.{$book['priceimg']}";
$book['link'] = 'read/'.$book['pricehash']; $book['link'] = SITE.'read/'.$book['pricehash'];
$result[] = $book; $result[] = $book;
} }