crappy ui for threads

This commit is contained in:
biglyderv 2024-12-11 23:51:42 -05:00
parent 1f56e6df3c
commit 22756c834e
3 changed files with 25 additions and 4 deletions

View file

@ -6,8 +6,8 @@
$ref = 1732684297;
function getOut($typer, $idr) {
if ($typer == 'user') {
header("Location: " . '/user.php?id=' . htmlspecialchars($idr));
if ($typer == 'user' || $typer == 'comment') {
header("Location: " . '/' . $typer . '.php?id=' . htmlspecialchars($idr));
die();
}