redurl
This commit is contained in:
@@ -187,9 +187,11 @@ function promo_kuri($hash, $page = 0, $promo = true){
|
|||||||
$bookmark = bookmark_get($hash);
|
$bookmark = bookmark_get($hash);
|
||||||
$page = 1; //если нет страницы то первая
|
$page = 1; //если нет страницы то первая
|
||||||
if ($bookmark !== false and $bookmark > 1){
|
if ($bookmark !== false and $bookmark > 1){
|
||||||
header("HTTP/1.1 301 Moved Permanently");
|
$redurl = SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo;
|
||||||
header('Location: '.SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo);
|
echo $redurl;
|
||||||
exit();
|
// header("HTTP/1.1 301 Moved Permanently");
|
||||||
|
// header('Location: '.SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo);
|
||||||
|
// exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user