<?php
  //Envia a HTTPS
  /*
  if( $SiteSel == 1 ){
  	if(empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "off"){
      	$redirect = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
      	header('HTTP/1.1 301 Moved Permanently');
      	header('Location: ' . $redirect);
      	exit();
  	}
  }
  */

  //Config
  $SiteName 		= "SwitchPoint";
  $SiteNameFoot = "SwitchPoint";
  $Url 					= "https://onecodedigital.com/sandbox/switchpoint-app/api";
  $UrlSite      = "https://onecodedigital.com/sandbox/switchpoint-app/api";
  $UrlRoot      = "https://onecodedigital.com/sandbox/switchpoint-app";
  $UrlPagos     = "https://onecodedigital.com/sandbox/switchpoint-app/pay";
  $RootServer 	= $_SERVER['DOCUMENT_ROOT']."/sandbox/switchpoint-app/api";
  $RootSite 		= $_SERVER['DOCUMENT_ROOT']."/sandbox/switchpoint-app/api";
  $RootBack 		= $_SERVER['DOCUMENT_ROOT']."/sandbox/switchpoint-app";

  //Base de Datos
  $hostname_conexion = "localhost";
  $database_conexion = "onecoded_SwitchPointApp";
  $username_conexion = "onecoded_switch";
  $password_conexion = "QZ+im=Uw+cV-";

  //Google Maps Key
  $ApiKey = 'AIzaSyBVwx7BcT1PFShU5xNTGHbZ-qMi5k_Pt84';

?>
