correct pdfile

This commit is contained in:
Andrey Kuvshinov
2020-04-07 19:19:31 +03:00
parent 5edadf761c
commit 52d5d718cc
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
<?php
ini_set('display_errors','off');
error_reporting(E_ALL);
function anpromo_kuri($page = 1, $scale = 2){
// $pdfile = 'https://argumenti.ru/templinks/md5files/f9598f88e667146d50d106eeedbd74c1.pdf';
@@ -34,7 +37,7 @@ function read_kuri($hash, $page){
}
$id = $price['price_id'];
$pdfile = SITE."file/$hash";
$pdfile = SITE."/read/$hash";
$maxpage = 32;
$title = $price['pricename'];
$filedown = True;