Skip to content

Commit

Permalink
Merge pull request #597 from it-novum/ITC-1171
Browse files Browse the repository at this point in the history
ITC-1171 Remove hardcoded server address
  • Loading branch information
nook24 authored Jun 27, 2017
2 parents 2902095 + 7fb2fe3 commit 6114360
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Plugin/CrateModule/Model/Datasource/Crate.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ function describe($model){


public function connect(){

$dsn = 'crate:cratedb1.oitc.itn:4200';
$dsn = sprintf('crate:%s', $this->config['host']);
$flags = [
PDO::ATTR_TIMEOUT => $this->config['timeout']
];
Expand Down

0 comments on commit 6114360

Please sign in to comment.