Skip to content

Commit dd35b78

Browse files
committed
fix: forzatura chiusura script con redirect
1 parent 2b1aea9 commit dd35b78

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/functions.php

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

0 commit comments

Comments
 (0)