Welcome Guest, Not a member yet? Register   Sign In
PHP 5.3 and the Log Library
#2

[eluser]InsiteFX[/eluser]
Add this in you index.php after the error_reporting
Note: Not need in CI 2.0
Code:
// PHP 5.3 needs this.
if(ini_get('date.timezone') == '')
{
    date_default_timezone_set('GMT');
}

To just set the date and time zone
Code:
date_default_timezone_set('America/New_York');

InsiteFX


Messages In This Thread
PHP 5.3 and the Log Library - by El Forum - 04-05-2011, 07:54 AM
PHP 5.3 and the Log Library - by El Forum - 04-05-2011, 08:15 AM
PHP 5.3 and the Log Library - by El Forum - 04-05-2011, 08:29 AM
PHP 5.3 and the Log Library - by El Forum - 02-16-2012, 07:33 AM
PHP 5.3 and the Log Library - by El Forum - 02-16-2012, 12:46 PM
PHP 5.3 and the Log Library - by El Forum - 02-16-2012, 04:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB