Helpers: avoid trusting HTTP_HOST in self_url()
Helpers: avoid trusting HTTP_HOST in self_url()

If not INSTALLING, we can use the url stored in config to generate the
scheme, host, and port. Removed unnecessary UPGRADING conditional from
htaccess_conf().

xenocrat/chyrp-lite,xenocrat/chyrp-lite