delete page

This commit is contained in:
Andrey Kuvshinov
2020-05-15 21:48:32 +03:00
parent f910248488
commit 8645de7b15

View File

@@ -182,11 +182,9 @@ function promo_kuri($hash, $page = 0, $promo = true){
return False;
}
echo $page;
if ($page == 0){ //  не читал ли ранее
$bookmark = bookmark_get($hash);
echo "закладка: $bookmark";
$page = 1; //если нет страницы то первая
if ($bookmark !== false and $bookmark > 1){
header("HTTP/1.1 301 Moved Permanently");