Simple question:
I'm adding a date.timezone directive to my php.ini.
I'm looking around on various tutorials and such through google and some people put the timezone in quotes and some don't... which is it?
date.timezone = "America/New_York"
- or -
date.timezone = America/New_York
date.timezone in php.ini (do I need quotes?)
Moderator: General Moderators
- seodevhead
- Forum Regular
- Posts: 705
- Joined: Sat Oct 08, 2005 8:18 pm
- Location: Windermere, FL
- lukewilkins
- Forum Commoner
- Posts: 55
- Joined: Tue Aug 12, 2008 2:42 pm
Re: date.timezone in php.ini (do I need quotes?)
I believe either way will actually work. I use quotes in mine if I remember correctly. Just set it and restart Apache, and see if it works.
- seodevhead
- Forum Regular
- Posts: 705
- Joined: Sat Oct 08, 2005 8:18 pm
- Location: Windermere, FL
Re: date.timezone in php.ini (do I need quotes?)
Thanks a bunch Luke... yea.. both work.. but I went with double-quotes just to be safe. 
- lukewilkins
- Forum Commoner
- Posts: 55
- Joined: Tue Aug 12, 2008 2:42 pm
Re: date.timezone in php.ini (do I need quotes?)
Excellent. Glad that worked for you.