Skip to content
Permalink
Browse files
Make sure that db_port is never empty and defaults to 3306.
  • Loading branch information
omega8cc committed Oct 4, 2014
1 parent 3545eed commit 61b175a59093f1465eaf5f2dbd42b8b14e99c69a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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';

0 comments on commit 61b175a

Please sign in to comment.