Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Issue with date_default_timezone_set() gone?

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
bimal
Smarty Elite


Joined: 19 Apr 2007
Posts: 423

PostPosted: Fri Nov 06, 2009 8:29 pm    Post subject: Issue with date_default_timezone_set() gone? Reply with quote

There is no need to write something like:
Code:
if(function_exists('date_default_timezone_set'))
{
   # Basically for Smarty's Date Error while compiling files.
   date_default_timezone_set('Asia/Katmandu');
}


New version does not need this.

Smarty 2.6.2 on PHP5 had a compile time issue with this date (timezone) function.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP