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

Missing Constant in E-Mail #2512

Closed
penguinpower80 opened this issue Jan 25, 2020 · 1 comment
Closed

Missing Constant in E-Mail #2512

penguinpower80 opened this issue Jan 25, 2020 · 1 comment

Comments

@penguinpower80
Copy link

In vendor/codeigniter/framework/system/Email, line 1501 references constant ICONV_ENABLED, but that is no longer set like it was in CI3

@MGatner
Copy link
Member

MGatner commented Jan 30, 2020

This appears to have been a shorthand in CI3 for checking the iconv extension:

if (extension_loaded('iconv'))
{
	defined('ICONV_ENABLED') OR define('ICONV_ENABLED', TRUE);
	@ini_set('iconv.internal_encoding', 'UTF-8');
}

While my reading suggests that extension should be available by default, switching the constant out for now to be safe...

MGatner added a commit that referenced this issue Jan 31, 2020
Replace legacy CI3 constant. Fixes #2512
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