Skip to content

Commit e009746

Browse files
committed
fix: redirect a indirizzo
1 parent 0818c75 commit e009746

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ function redirect_url($url, $type = 'php')
4444
switch ($type) {
4545
case 'php':
4646
header('Location: '.$url);
47-
break;
47+
exit();
48+
4849
case 'js':
4950
echo '<script type="text/javascript">location.href="'.$url.'";</script>';
5051
break;

0 commit comments

Comments
 (0)