Skip to content

Commit 2b1127d

Browse files
committed
In creation of new project, any database driver selected other than "existing yii conneciton"
was not being set for SW_DB_DRIVER definition
1 parent 0c2ed4c commit 2b1127d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/projects/admin/configureproject.xml.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
{
4949
$configparams["SW_PROJECT_PASSWORD"] = $_criteria["projectpassword"]->get_criteria_value("VALUE", false);
5050
$configparams["SW_DB_TYPE"] = $_criteria["dbtype"]->get_criteria_value("VALUE", false);
51+
$configparams["SW_DB_DRIVER"] = $configparams["SW_DB_TYPE"];
5152
$configparams["SW_DB_USER"] = "N/A";
5253
$configparams["SW_DB_PASSWORD"] = "N/A";
5354
$configparams["SW_DB_HOST"] = "N/A";

0 commit comments

Comments
 (0)