Rev 153 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
if (in_array($_SERVER["SERVER_NAME"], array("www.findcheapmusic.com", "findcheapmusic.com"))) {
define("ETC_ROOT", $_SERVER['DOCUMENT_ROOT'] . "/../etc/findcheapmusic.com/");
ini_set("date.timezone", "America/New_York");
header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
header("X-Content-Type-Options: nosniff");
header("X-XSS-Protection: 1; mode=block");
header("Access-Control-Allow-Origin: *");
header("Referrer-Policy: no-referrer");
header("X-Frame-Options: SAMEORIGIN");
} else {
define("ETC_ROOT", $_SERVER['DOCUMENT_ROOT'] . "/../MyFiles/");
}
define("LOG_DIR", ETC_ROOT . "logs/");
define("CONFIG_DIR", ETC_ROOT . "config/");
define("TMP_DIR", ETC_ROOT . "tmp/");
ini_set("error_log", LOG_DIR . "php_error.log");