mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
TorrentPier Aurochs release preparation.
This commit is contained in:
parent
e9a76e6a5c
commit
3e8b494572
21 changed files with 709 additions and 502 deletions
|
@ -56,10 +56,10 @@ $full_url = isset($_POST['full_url']) ? str_replace('&', '&', htmlspecialcha
|
|||
|
||||
if (isset($_POST['redirect_type']) && $_POST['redirect_type'] == 'search') {
|
||||
$redirect_type = "search.php";
|
||||
$redirect = ($full_url) ?: "$dl_key=1";
|
||||
$redirect = $full_url ?: "$dl_key=1";
|
||||
} else {
|
||||
$redirect_type = (!$topic_id) ? "viewforum.php" : "viewtopic.php";
|
||||
$redirect = ($full_url) ?: ((!$topic_id) ? POST_FORUM_URL . "=$forum_id" : POST_TOPIC_URL . "=$topic_id");
|
||||
$redirect = $full_url ?: ((!$topic_id) ? POST_FORUM_URL . "=$forum_id" : POST_TOPIC_URL . "=$topic_id");
|
||||
}
|
||||
|
||||
// Start session management
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue