Changed protocol detection to use $_SERVER['SERVER_PROTOCOL'] instead of config info.
Changed protocol detection to use $_SERVER['SERVER_PROTOCOL'] instead of config info.

focuz07/CRM,bradgearon/ChurchCRM,ChurchCRM/CRM,bradgearon/ChurchCRM,focuz07/CRM,ChurchCRM/CRM,bradgearon/ChurchCRM,bradgearon/ChurchCRM,focuz07/CRM,ChurchCRM/CRM,focuz07/CRM,ChurchCRM/CRM,ChurchCRM/CRM,bradgearon/ChurchCRM