correct count

This commit is contained in:
Andrey Kuvshinov
2020-05-24 18:00:17 +03:00
parent 9b8e4b388d
commit 1d256b4297

View File

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