Update index.php
This commit is contained in:
parent
da35c951a2
commit
b5c04d3663
@ -161,6 +161,8 @@ function direcionar_ark() {
|
||||
if($tem_interrogacao){
|
||||
|
||||
registrarAcessoQrCode( $ark, "Consulta com interrogação, ou seja, buscando metadados.");
|
||||
ob_flush(); // Liberar o buffer de saída
|
||||
flush();
|
||||
sleep(5);
|
||||
header('Location:'.$site_base.$caminho_arquivo_ark);
|
||||
die();
|
||||
@ -176,6 +178,8 @@ function direcionar_ark() {
|
||||
} else {
|
||||
|
||||
registrarAcessoQrCode($ark, "Não possui um apontamento, logo, foi redirecionado para os metadados.");
|
||||
ob_flush(); // Liberar o buffer de saída
|
||||
flush();
|
||||
sleep(5);
|
||||
header('Location:'.$site_base.$caminho_arquivo_ark);
|
||||
die();
|
||||
@ -185,6 +189,8 @@ function direcionar_ark() {
|
||||
if(!$tem_interrogacao){
|
||||
|
||||
registrarAcessoQrCode($ark, $link_completo);
|
||||
ob_flush(); // Liberar o buffer de saída
|
||||
flush();
|
||||
sleep(5);
|
||||
header('Location: '.$link_completo);
|
||||
die();
|
||||
|
Loading…
x
Reference in New Issue
Block a user