partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit f3a8c3f9407bc7df9c9bae86633f327cbd593318
parent 3c153c840004a54325033fccabe7b9160cb1f9a7
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed, 25 Nov 2015 17:45:07 +0100

Properly parse the database hostname from the legacy config

Diffstat:
Msrc/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php b/src/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php @@ -63,8 +63,8 @@ class ExistingConfigParserController extends SetupController $config["database_driver"] = $legacyConfig["partkeepr.database.driver"]; } - if (array_key_exists("partkeepr.database.host", $legacyConfig)) { - $config["database_host"] = $legacyConfig["partkeepr.database.host"]; + if (array_key_exists("partkeepr.database.hostname", $legacyConfig)) { + $config["database_host"] = $legacyConfig["partkeepr.database.hostname"]; } if (array_key_exists("partkeepr.database.username", $legacyConfig)) {