Wrapped template functions in re-declaration guards.
Checking if HTTPS is set before checking its value.
Added check for mod_php before using php_value directive.
Merge pull request #23 from emartinez-usgs/concurent

Concurent