Use config_get_global for global configuration values

This provides optimal performance, as well as ensuring that there is
no chance of a user managing to find a way to get one of the 'secure'
configuration options set in the database level.