1
0
Fork 0

Fix Database $_SERVER usage and remove old .travis files

This commit is contained in:
Philipp Holzer 2020-08-19 12:28:34 +02:00
commit 16591077ac
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
7 changed files with 10 additions and 54 deletions

View file

@ -101,7 +101,7 @@ class StaticDatabase extends Database
{
// Use environment variables for mysql if they are set beforehand
if (!empty($server['MYSQL_HOST'])
&& (!empty($server['MYSQL_USERNAME'] || !empty($server['MYSQL_USER'])))
&& (!empty($server['MYSQL_USERNAME']) || !empty($server['MYSQL_USER']))
&& $server['MYSQL_PASSWORD'] !== false
&& !empty($server['MYSQL_DATABASE']))
{