X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=htconfig.php;h=2cbbf6335dcc55113ff40798ab2960eafcc53a93;hb=e8e93768db29c83412262f2350233566c8838aa6;hp=beec41c9c0b263ca2af06bd521cdbf58cbe84f1e;hpb=0700452c498297603a09a37b927ca12bff19836f;p=friendica.git diff --git a/htconfig.php b/htconfig.php index beec41c9c0..2cbbf6335d 100644 --- a/htconfig.php +++ b/htconfig.php @@ -23,10 +23,10 @@ $db_data = 'mysqldatabasename'; // Use environment variables for mysql if they are set beforehand if (!empty(getenv('MYSQL_HOST')) - && !empty(getenv('MYSQL_PORT')) - && !empty(getenv('MYSQL_USERNAME')) - && !empty(getenv('MYSQL_PASSWORD')) - && !empty(getenv('MYSQL_DATABASE'))) { + && !empty(getenv('MYSQL_PORT')) + && !empty(getenv('MYSQL_USERNAME')) + && !empty(getenv('MYSQL_PASSWORD')) + && !empty(getenv('MYSQL_DATABASE'))) { $db_host = getenv('MYSQL_HOST') . ':' . getenv('MYSQL_PORT'); $db_user = getenv('MYSQL_USERNAME'); $db_pass = getenv('MYSQL_PASSWORD');