mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Code refactoring (#1441)
* Code refactoring * Update viewtopic.php * Update viewforum.php * Update posting.php * Update viewtopic.php * Revert "Code refactoring" This reverts commite4ac08e377
. * Revert "Update viewforum.php" This reverts commit1ee6321385
. * Update viewforum.php * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update dl_list.php * Update posting.php * Update posting.php * Update posting.php * Update viewprofile.php * Update email.php * Update viewtopic.php * Update functions.php * Update posting.php * Update viewtopic.php * Update CHANGELOG.md
This commit is contained in:
parent
8ba00d5966
commit
2472608c6d
8 changed files with 19 additions and 29 deletions
|
@ -18,7 +18,7 @@ $datastore->enqueue([
|
|||
'cat_forums'
|
||||
]);
|
||||
|
||||
if (!$userdata['session_logged_in']) {
|
||||
if (IS_GUEST) {
|
||||
redirect(LOGIN_URL . "?redirect={$_SERVER['REQUEST_URI']}");
|
||||
} else {
|
||||
if (empty($_GET[POST_USERS_URL])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue