Commit 2114f0d9 authored by Fabien Potencier's avatar Fabien Potencier

bug #1072 Adding a default port for the connection to the database (flug)

This PR was merged into the 1.2 branch.

Discussion
----------

Adding a default port for the connection to the database

On HHVM an exception is thrown like what it is not a number.

Commits
-------

4a1d3480 Adding a default port for the connection to the database
parents 5235c714 4a1d3480
......@@ -33,7 +33,7 @@ class DoctrineServiceProvider implements ServiceProviderInterface
'host' => 'localhost',
'user' => 'root',
'password' => null,
'port' => null,
'port' => 3306,
);
$app['dbs.options.initializer'] = $app->protect(function () use ($app) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment