Fixing database config environment directory.