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

Bug: Session Initialization via DatabaseHandler #3978

Closed
kwiatek6324 opened this issue Dec 10, 2020 · 1 comment
Closed

Bug: Session Initialization via DatabaseHandler #3978

kwiatek6324 opened this issue Dec 10, 2020 · 1 comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@kwiatek6324
Copy link

Describe the bug
In Session/Handlers/DatabaseHandler.php in lines:

	// Determine Database type
	$driver = strtolower(get_class($this->db));
	if (strpos($driver, 'mysql') !== false)
	{
		$this->platform = 'mysql';
	}
	elseif (strpos($driver, 'postgre') !== false)
	{
		$this->platform = 'postgre';
	}

mysql/postgre should be compatibile with Database Classes (MySQLi/Postgre).

CodeIgniter 4 version
CI 4.0.4

Affected module(s)
Session

Expected behavior, and steps to reproduce if appropriate

Test shows that changins postgre to Postgre repair behavior.

Context

  • OS: Debian
  • Web server: Apache 2.4
  • PHP version: 7.4.4
@kwiatek6324 kwiatek6324 added the bug Verified issues on the current code behavior or pull requests that will fix them label Dec 10, 2020
@kwiatek6324
Copy link
Author

need to more investigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

1 participant