<?php
	// error_reporting(E_ALL);

	$siteInfo = [
		//general info
		"company_name" => "Affordable Flooring Installation LLC", 
		"phone" =>  "(602)883-5460", 		  //either no format or dashed format
		"email" => "Felipelara2020@aol.com",   //by default is used as recipient email  
		"address" => "Serves Phoenix and Nearby Areas",
		
		// email related
		"site_key" => "6LczFa8bAAAAAE_n_a2d59-7L8Fj8eyR6i5LZ82s",
		"secret_key" => "6LczFa8bAAAAACIRA4CjTP6nUdw0ccTVNqJ8SH8-",
		"email_from" => "mailer@domain.com",
		"email_from_name" => "Company Name", //by default is the same as company name
		"email_bcc" => "", //accepts multiple emails. Comma separated eg: email1@domain.com,email2@domain.com
		"email_cc" => "", //accepts multiple emails. Comma separated eg: email1@domain.com,email2@domain.com

		//social media links
		"fb_link" => "https://www.facebook.com/",
		"x_link" => "https://twitter.com/",
		"tt_link" => "https://tiktok.com/",
		"tu_link" => "https://tumblr.com",
		"gp_link" => "https://plus.google.com/",
		"ig_link" => "https://www.instagram.com/",
		"yt_link" => "https://youtube.com",
		"li_link" => "https://www.linkedin.com/",
		"tb_link" => "https://www.tumblr.com",
		"yp_link" => "https://yelp.com/",
		"pi_link" => "https://pinterest.com/",
		"rss_link" => "https://rss.com/",

		//seo
		"ga_tracking_id" => '',

		//pivate policy link 
		"policy_link" => 'privacy-policy', //change the value to privacy-policy for Privacy Policy Page

		//Cookie
		"cookie" => true, //false to disable cookie
		"save_form" => false, //save inquiry form on excel

		//suspension
		"suspended" => false
	];

			
	define('MVC', dirname(__DIR__) . '/' . 'app' . '/');
	define('URL_PUBLIC_FOLDER', '');
	define('URL_PROTOCOL', 'http://');
	define('URL_DOMAIN', $_SERVER['HTTP_HOST']);
	define('URL_SUB_FOLDER', str_replace(URL_PUBLIC_FOLDER, '', dirname($_SERVER['SCRIPT_NAME'])));
	if(substr(URL_PROTOCOL . URL_DOMAIN . URL_SUB_FOLDER, -1) == '/') {
		define('URL', URL_PROTOCOL . URL_DOMAIN . URL_SUB_FOLDER);
	} else{
		define('URL', URL_PROTOCOL . URL_DOMAIN . URL_SUB_FOLDER . '/');
	}

	require MVC . 'controller/controller.php';
	require MVC . 'app.php';