Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:46 am EST
Geeklog Forums
timezone hack problem
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Hi
I read that post but i was lost
can i please just post what i did and you tell me what went wrong???
in lib common i changed this
and in config i did this
i get the error so what is wrong
can someone tell me??
I read that post but i was lost
can i please just post what i did and you tell me what went wrong???
in lib common i changed this
// timezone hack - set the webserver's timezone
if( !empty( $_CONF['Europe/Ljubljana'] ) && !ini_get( 'safe_mode' ) &&
function_exists( 'putenv' )) {
putenv( 'TZ=' . $_CONF['Europe/Ljubljana'] );
}
if( !empty( $_CONF['Europe/Ljubljana'] ) && !ini_get( 'safe_mode' ) &&
function_exists( 'putenv' )) {
putenv( 'TZ=' . $_CONF['Europe/Ljubljana'] );
}
and in config i did this
// For more information, see this discussion on geeklog.net:
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['Europe/Ljubljana'] = 'Etc/GMT+1'; // e.g. 6 hours behind GMT
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['Europe/Ljubljana'] = 'Etc/GMT+1'; // e.g. 6 hours behind GMT
i get the error so what is wrong
can someone tell me??
10
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
First of all, the timezone hack is built into Geeklog now, so you don't have to change anything in lib-common.php. Revert the changes you made there.
Also note that you made the changes to the wrong side of the '=' sign. Try
And don't forget to remove the // in front of that line in config.php.
bye, Dirk
Also note that you made the changes to the wrong side of the '=' sign. Try
Text Formatted Code
$_CONF['timezone'] = 'Europe/Ljubljana';And don't forget to remove the // in front of that line in config.php.
bye, Dirk
8
7
Quote
All times are EST. The time is now 08:46 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content