From 140d68663e68586f154442c33b66890ad47aba09 Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Fri, 15 May 2020 21:59:41 +0300 Subject: [PATCH] redurl --- app/routes/anpdf.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index a5f4f6e..295e07d 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -187,9 +187,11 @@ function promo_kuri($hash, $page = 0, $promo = true){ $bookmark = bookmark_get($hash); $page = 1; //если нет страницы то первая if ($bookmark !== false and $bookmark > 1){ - header("HTTP/1.1 301 Moved Permanently"); - header('Location: '.SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo); - exit(); + $redurl = SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo; + echo $redurl; + // header("HTTP/1.1 301 Moved Permanently"); + // header('Location: '.SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo); + // exit(); } }