JasonBaier / ci3-fire-starter

NOW THAT CODEIGNITER 4 HAS BEEN RELEASED, THIS PROJECT WILL NOT BE UPDATED ANYMORE. CI3 Fire Starter is a CodeIgniter3 skeleton application that includes jQuery and Twitter Bootstrap. It is intended to be light weight, minimalistic and not get in your way of building great CodeIgniter 3 applications.
MIT License
153 stars 152 forks source link

log_message function not working. #27

Closed karlgray closed 7 years ago

karlgray commented 8 years ago

None of my log_messages was working in any controller extended from My_Controller. The system messages and anything extending CI_Controller worked fine.

I tracked it down to this line in the My_Controller constructor.

date_default_timezone_set($timezones[$this->settings->timezones]);

I checked in the config and my time_reference configuration was;

$config['time_reference'] = 'local';

Once I set it to a UM? value the log_message function started working again ok.

Not sure why this is the case, but posting here as an informational.

JasonBaier commented 8 years ago

Thanks for the info. I'll see if I can find more on this.