This commit is contained in:
Andrey Kuvshinov
2020-05-15 21:59:41 +03:00
parent f147434e39
commit 140d68663e

View File

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