mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r267
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@267 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
c882758f9c
commit
da57e12558
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
|
||||||
|
|
||||||
// Increase number of revision after update
|
// Increase number of revision after update
|
||||||
$bb_cfg['tp_version'] = '2.1 Stable';
|
$bb_cfg['tp_version'] = '2.1 Stable';
|
||||||
$bb_cfg['tp_release_state'] = 'R264';
|
$bb_cfg['tp_release_state'] = 'R267';
|
||||||
$bb_cfg['tp_release_date'] = '30-08-2011';
|
$bb_cfg['tp_release_date'] = '30-08-2011';
|
||||||
|
|
||||||
// Database
|
// Database
|
||||||
|
|
|
@ -1564,7 +1564,7 @@ function bb_date ($gmepoch, $format = false, $tz = null)
|
||||||
|
|
||||||
if (is_null($tz))
|
if (is_null($tz))
|
||||||
{
|
{
|
||||||
if(!IS_GUEST)
|
if (!$userdata['session_logged_in'])
|
||||||
{
$tz = $userdata['user_timezone'];
}
|
{
$tz = $userdata['user_timezone'];
}
|
||||||
else $tz = $bb_cfg['board_timezone'];
|
else $tz = $bb_cfg['board_timezone'];
|
||||||
}
|
}
|
||||||
|
@ -1583,7 +1583,7 @@ function bb_date ($gmepoch, $format = false, $tz = null)
|
||||||
|
|
||||||
if(is_numeric($tz))
|
if(is_numeric($tz))
|
||||||
{
|
{
|
||||||
if(!IS_GUEST)
|
if (!$userdata['session_logged_in'])
|
||||||
{
|
{
|
||||||
$tz = $userdata['user_timezone'];
|
$tz = $userdata['user_timezone'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue