Improve comparison in App->loadDatabase()

Este commit está contenido en:
Hypolite Petovan 2018-07-06 21:24:40 -04:00
padre 32418e8660
commit e98216b5bb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -505,7 +505,7 @@ class App
// Use environment variables for mysql if they are set beforehand
if (!empty(getenv('MYSQL_HOST'))
&& (!empty(getenv('MYSQL_USERNAME')) || !empty(getenv('MYSQL_USER')))
&& !getenv('MYSQL_PASSWORD') === false
&& getenv('MYSQL_PASSWORD') !== false
&& !empty(getenv('MYSQL_DATABASE')))
{
$db_host = getenv('MYSQL_HOST');