Storytlr is an opensource lifestreaming and microblogging platform written in PHP. Note: The default branch (master) is the development branch, if you need a stable version, see the release-XX branches, tags, or downloads.
Block the user from entering a host string with a port
Parse the port and set the config.ini accordingly. Note that there is nothing provisioned in the code at this stage to handle database connection to non default ports.
When installing, if the user provides a port in the mysql server url, the install can continue but the setup is broken. See this thread: https://groups.google.com/d/topic/storytlr-discuss/UCBQqtmkbHU/discussion
Two solutions: