correct count
This commit is contained in:
@@ -405,11 +405,10 @@ function readbook_kuri($hash, $page = 1){
|
|||||||
$count = 20;
|
$count = 20;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$html = convert2html($htmlfile);
|
$html = convert2html($htmlfile);
|
||||||
$razmer = strlen($html);
|
$razmer = strlen($html);
|
||||||
|
|
||||||
$count = $razmer / $limit;
|
$count = ceil($razmer / $limit);
|
||||||
|
|
||||||
// $html .= convert2html($dir.'chapter-1.xhtml');
|
// $html .= convert2html($dir.'chapter-1.xhtml');
|
||||||
$pagehtml = pagehtml($html, $page, $limit);
|
$pagehtml = pagehtml($html, $page, $limit);
|
||||||
|
|||||||
Reference in New Issue
Block a user