From eaf02a11bec54a783b0312fd496315883426c989 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 12 May 2017 17:02:24 +0200 Subject: Bugfix: If the database password is removed within the first "getDatabase" call, it will prevent that a new connection can be enforced when calling "getDatabase(TRUE)" because the password was removed in the first call before and doesn't exist anymore (the database connection will fail because of an invalid connection password). --- core/namespace/Application.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') diff --git a/core/namespace/Application.php b/core/namespace/Application.php index b4796c6..4fa80cc 100644 --- a/core/namespace/Application.php +++ b/core/namespace/Application.php @@ -43,8 +43,6 @@ class Application { $username = self::get('DATABASE.USERNAME'); $password = self::get('DATABASE.PASSWORD'); - self::set('DATABASE.PASSWORD', NULL); - self::$Database = new Database($hostname, $basename, $username, $password); } -- cgit v1.2.3