Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log_message function not working. #27

Closed
karlgray opened this issue Aug 1, 2016 · 1 comment
Closed

log_message function not working. #27

karlgray opened this issue Aug 1, 2016 · 1 comment

Comments

@karlgray
Copy link

karlgray commented Aug 1, 2016

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants