Tuesday 14 October 2014

Solution : PHP Warning: date(): It is not safe to rely on the system's timezone settings

Hi If you get error add below code in your php file

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

Share This!



No comments:

Post a Comment

Here We Write The Problems we face at different situations and Solutions to those problems.