Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
45cf874d
Commit
45cf874d
authored
Oct 04, 2014
by
Grazyna Jaworska
Browse files
Make sure that db_port is never empty and defaults to 3306.
parent
9f1e16f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/drupal/install_6.inc
View file @
45cf874d
...
...
@@ -38,7 +38,7 @@ function install_verify_settings() {
$db_user
=
urldecode
(
$url
[
'user'
]);
$db_pass
=
urldecode
(
$url
[
'pass'
]);
$db_host
=
urldecode
(
$url
[
'host'
]);
$db_port
=
isset
(
$url
[
'port'
])
?
urldecode
(
$url
[
'port'
])
:
''
;
$db_port
=
isset
(
$url
[
'port'
])
?
urldecode
(
$url
[
'port'
])
:
'
3306
'
;
$db_path
=
ltrim
(
urldecode
(
$url
[
'path'
]),
'/'
);
$settings_file
=
'./'
.
conf_path
()
.
'/settings.php'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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