Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
4a1d3480
Commit
4a1d3480
authored
Dec 09, 2014
by
Flug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Silex/Provider/DoctrineServiceProvider.php
src/Silex/Provider/DoctrineServiceProvider.php
+1
-1
No files found.
src/Silex/Provider/DoctrineServiceProvider.php
View file @
4a1d3480
...
@@ -33,7 +33,7 @@ class DoctrineServiceProvider implements ServiceProviderInterface
...
@@ -33,7 +33,7 @@ class DoctrineServiceProvider implements ServiceProviderInterface
'host'
=>
'localhost'
,
'host'
=>
'localhost'
,
'user'
=>
'root'
,
'user'
=>
'root'
,
'password'
=>
null
,
'password'
=>
null
,
'port'
=>
null
,
'port'
=>
3306
,
);
);
$app
[
'dbs.options.initializer'
]
=
$app
->
protect
(
function
()
use
(
$app
)
{
$app
[
'dbs.options.initializer'
]
=
$app
->
protect
(
function
()
use
(
$app
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment