Commit 4a1d3480 authored by Flug's avatar Flug

Adding a default port for the connection to the database

On HHVM an exception is thrown like what it is not a number.
parent 8643b3b9
......@@ -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