add cache pages

This commit is contained in:
Andrey Kuvshinov
2020-05-21 21:01:42 +03:00
parent f2ab7dd263
commit b9cd095e55
2 changed files with 16 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ function pdfs_init($source, $page = 1){
if (!file_exists($source))
return false;
$result['count'] = pdfs_count($source); // количество страниц
// $result['count'] = pdfs_count($source); // количество страниц
$result['pdfurl'] = SITE.trim(pdfs_cachefile($source), '/'); //полный файл на скачку