@@ -46,9 +46,9 @@ |
||
46 | 46 | { |
47 | 47 | switch ($config['connection']) { |
48 | 48 | case 'mysql': |
49 | - return 'mysql:host=' . $config['mysql']['host'] . ';dbname=' . $config['mysql']['database']; |
|
49 | + return 'mysql:host='.$config['mysql']['host'].';dbname='.$config['mysql']['database']; |
|
50 | 50 | case 'sqlite': |
51 | - return 'sqlite:' . __DIR__ . '/database/' . $config['sqlite']['database'] . '.sqlite'; |
|
51 | + return 'sqlite:'.__DIR__.'/database/'.$config['sqlite']['database'].'.sqlite'; |
|
52 | 52 | default: |
53 | 53 | throw new Exception('Connection type not supported'); |
54 | 54 | } |