Skip to content

Commit

Permalink
Expose Doctrine settings in Netxcloud settings
Browse files Browse the repository at this point in the history
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
  • Loading branch information
Retidurc committed Jun 16, 2022
1 parent 0c14ee6 commit afa91b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/DB/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ public function createConnectionParams(string $configPrefix = '') {
];
}

if ($this->config->getValue('persistent',false)){
$connectionParams['persistent'] = true;
}

return $connectionParams;
}

Expand Down

0 comments on commit afa91b8

Please sign in to comment.