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(); } }