redurl
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user