remove unnecessary 'index.php' reference

This commit is contained in:
Ben Harris 2018-09-05 13:10:52 -04:00
parent 8477d3caab
commit f8d503fd0d
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
$plural = $thread['reply_count']==1 ? "y" : "ies";
$tid = $thread["thread_id"];
echo "\t\t<div class='well'>".PHP_EOL;
echo "\t\t\t<p><a href='index.php?thread_id={$tid}'>{$tt}</a> by {$username} @ {$time}</p>".PHP_EOL;
echo "\t\t\t<p><a href='?thread_id={$tid}'>{$tt}</a> by {$username} @ {$time}</p>".PHP_EOL;
echo "\t\t\t<p>{$thread['reply_count']} repl{$plural}, last post by {$last_author}";
echo "\t\t</div>".PHP_EOL;
}

View File

@ -8,7 +8,7 @@
if ($thread["error"]!=null) {
$title = "Unknown Thread | ~team BBJ";
include 'client/header.php';
echo "\t\t<p>No such thread exists. <a href='/index.php'>Go home.</a></p>";
echo "\t\t<p>No such thread exists. <a href='/'>Go home.</a></p>";
include 'client/footer.php';
die();
} else {