Make port number configurable.

This commit is contained in:
Axel Naumann
2016-03-29 18:45:23 +00:00
parent 54f8bdd13b
commit 4afa032b4c
3 changed files with 4 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ module ImportScripts::PhpBB3
class DatabaseSettings
attr_reader :type
attr_reader :host
attr_reader :port
attr_reader :username
attr_reader :password
attr_reader :schema
@@ -70,6 +71,7 @@ module ImportScripts::PhpBB3
def initialize(yaml)
@type = yaml['type']
@host = yaml['host']
@port = yaml['port']
@username = yaml['username']
@password = yaml['password']
@schema = yaml['schema']