correct count pages in book

This commit is contained in:
Andrey Kuvshinov
2020-05-24 21:14:12 +03:00
parent 3f75aeb24f
commit 11e6f2ce8f

View File

@@ -411,7 +411,7 @@ function readbook_kuri($hash, $page = 1){
$html = convert2html($htmlfile);
$razmer = strlen($html);
$count = ceil($razmer / $limit);
$count = floor($razmer / $limit);
// $html .= convert2html($dir.'chapter-1.xhtml');
$pagehtml = pagehtml($html, $page, $limit);