Ticket #564 (closed Bug: fixed)

Opened 7 months ago

Last modified 6 months ago

Fix Session connect to DB

Reported by: Igor Owned by: - No owner -
Priority: major Milestone: 2.2
Component: Libraries:Session Version: SVN HEAD
Keywords: Cc:

Description

In this situation create new connect to DB. Don't use exists of default group.

Code:

	public function open($path, $name)
	{
		if (Config::item('database.'.$this->db_group) === NULL)
		{
			// There's no defined group, use the default database
			$this->db = new Database;
		}
....

Need change to:

			// There's no defined group, use the default database
                        $this->db = Database::instance();

Change History

Changed 6 months ago by Geert

  • status changed from new to closed
  • resolution set to fixed

Fixed by Oscar in r2692

Note: See TracTickets for help on using tickets.