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

Check if ini_get/ini_set is not disabled before using it #362

Closed
wants to merge 1 commit into from
Closed

Check if ini_get/ini_set is not disabled before using it #362

wants to merge 1 commit into from

Conversation

ruester
Copy link

@ruester ruester commented May 11, 2017

ini_get/set may often be disabled in production environments, causing warnings to be generated (and NULL to be returned). This change checks that ini_get/set is usable (otherwise function_exists will return FALSE) before using it, preventing the warnings while introducing no functional change.

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

Successfully merging this pull request may close these issues.

2 participants