default scale 1

This commit is contained in:
Andrey Kuvshinov
2020-04-28 22:35:13 +03:00
parent 925ef570cf
commit ae1c448e75
3 changed files with 4 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
ini_set('display_errors','off');
error_reporting(E_ALL);
function anpromo_kuri($page = 1, $scale = 1.5){
function anpromo_kuri($page = 1, $scale = 1){
// $pdfile = 'https://argumenti.ru/templinks/md5files/f9598f88e667146d50d106eeedbd74c1.pdf';
$pdfile = '/pub/files/promo.pdf';
@@ -30,7 +30,7 @@ function anpromo_kuri($page = 1, $scale = 1.5){
function read_kuri($hash, $page = 1, $scale = 1.5, $promo = false){
function read_kuri($hash, $page = 1, $scale = 1, $promo = false){
$price = db_get("SELECT `price_id`, `pricename` FROM `price` WHERE `pricehash` = '$hash' LIMIT 1");
@@ -66,9 +66,6 @@ function read_kuri($hash, $page = 1, $scale = 1.5, $promo = false){
$downtitle = 'Если по какой-то причине у вас не загрузилось издание ниже, то нажмите сюда, чтобы скачать pdf';
}
$id = $price['price_id'];
$title = $price['pricename'];