From 67c28f6b97c17ecc1ee02f1a1ee108ccc91f608e Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Wed, 1 Apr 2020 18:11:53 +0300 Subject: [PATCH] add index --- index.php | 3 ++- modules/anpdf/anpdf.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index cee65f1..2937725 100644 --- a/index.php +++ b/index.php @@ -9,6 +9,7 @@ require 'modules/anpdf/anpdf.php'; _kuri(); + function index_kuri(){ - echo 'kuri'; + return anpromo_kuri(1); } \ No newline at end of file diff --git a/modules/anpdf/anpdf.php b/modules/anpdf/anpdf.php index c3ff4ec..c86ca27 100644 --- a/modules/anpdf/anpdf.php +++ b/modules/anpdf/anpdf.php @@ -4,7 +4,7 @@ function anpromo_kuri($page = 1, $scale = 1.5){ // $pdfile = 'https://argumenti.ru/templinks/md5files/f9598f88e667146d50d106eeedbd74c1.pdf'; - $pdfile = 'http://an.promo/pub/798.pdf'; + $pdfile = '/pub/798.pdf'; $maxpage = 32; if ($page < $maxpage){