summaryrefslogtreecommitdiff
path: root/installer/database_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/database_config.php')
-rw-r--r--installer/database_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/database_config.php b/installer/database_config.php
index 0f04b95c..8abf35e7 100644
--- a/installer/database_config.php
+++ b/installer/database_config.php
@@ -33,7 +33,7 @@ $config['default'] = array(
'user' => '<?php print $user ?>',
'pass' => '<?php print str_replace("'", "\\'", $password) ?>',
'host' => '<?php print $host ?>',
- 'port' => false,
+ 'port' => <?php if (!empty($port)): ?>'<?php print $port ?>' <?php else: ?>false<?php endif ?>,
'socket' => false,
'database' => '<?php print $dbname ?>'
),