mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -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
|
@ -1115,7 +1115,7 @@ function bb_date($gmepoch, $format = false, $friendly_date = true)
|
|||
require_once($bb_cfg['default_lang_dir'] . 'main.php');
|
||||
}
|
||||
|
||||
if (empty($userdata['session_logged_in'])) {
|
||||
if (!defined('IS_GUEST') || IS_GUEST) {
|
||||
$tz = $bb_cfg['board_timezone'];
|
||||
} else {
|
||||
$tz = $userdata['user_timezone'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue