Return to Snippet

Revision: 21330
at December 10, 2009 14:02 by AzizLight


Initial Code
if (!ini_get('date.timezone'))
{
	date_default_timezone_set('GMT');
}

Initial URL
http://philsturgeon.co.uk/news/2009/12/CodeIgniter-on-PHP-5.3

Initial Description
Set the default timezone for date/time functions to use if none is set on the server.

Initial Title
Set default timezone for date/time functions (php 5.3 compatibility requirement)

Initial Tags
php

Initial Language
PHP