Update environment.php

Fixed a failure to install when sessions are enabled and no DB is defined.