send
This commit is contained in:
@@ -76,3 +76,9 @@ function asset_scripts(string $pos = 'footer'): void
|
||||
echo '<script src="' . htmlspecialchars($src, ENT_QUOTES) . '"' . $attrs . '></script>' . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
function redirect(string $path): void
|
||||
{
|
||||
header('Location: ' . $path, true, 303);
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user