correct books pdf in mobile
This commit is contained in:
@@ -224,7 +224,7 @@ function read_kuri($hash, $page = 0, $promo = false, $version = null){
|
|||||||
$count = $price['pages'];
|
$count = $price['pages'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//залита html версия книги
|
||||||
if ($price['html'] == 'html'){
|
if ($price['html'] == 'html'){
|
||||||
return readbook_kuri($hash, $page = 1);
|
return readbook_kuri($hash, $page = 1);
|
||||||
}
|
}
|
||||||
@@ -241,6 +241,9 @@ function read_kuri($hash, $page = 0, $promo = false, $version = null){
|
|||||||
$version = 'pdf';
|
$version = 'pdf';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//книжки только pdf :(
|
||||||
|
if ($price['category_id'] == 3)
|
||||||
|
$version = 'pdf';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user