no, that is _not_ the correct location, adding it in that location is the cause of the error.
It needs to go in the Users configuration folder, not in the application configuration folder.
if you need help locating the users configuration folder, see the common installation issues page:
common_installation_issues.php