<?php

  if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] === "off") {
    $location = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: ' . $location);
    exit;
  }

  $SiteName 		= "Edilux";
  $SiteNameFoot = "Edilux";
  $Url 					= "onecodedigital.com/sandbox/edilux";
  $UrlSite      = "onecodedigital.com/sandbox/edilux";
  $RootServer 	= $_SERVER['DOCUMENT_ROOT']."/sandbox/edilux";
  $RootSite 		= $_SERVER['DOCUMENT_ROOT']."/sandbox/edilux";

  //Base de Datos
  $hostname_conexion = "localhost";
  $database_conexion = "onecoded_edilux21";
  $username_conexion = "onecoded_ediusr";
  $password_conexion = "7.DGgpiZ_PDt";

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

  //Mac Detection
  $mactest = strpos($_SERVER["HTTP_USER_AGENT"], 'Macintosh') ? true : false;

  // if($mactest) {
  //   echo "Mac";
  // }else{
  //   echo "No Mac";
  // }

?>
