Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
if (in_array($_SERVER["SERVER_NAME"], array("www.findcheapmusic.com", "findcheapmusic.com"))) {
|
2 |
if (in_array($_SERVER["SERVER_NAME"], array("www.findcheapmusic.com", "findcheapmusic.com"))) {
|
3 |
ini_set("zlib.output_compression", "On");
|
- |
|
4 |
ini_set("zlib.output_compression_level", 4);
|
- |
|
5 |
ini_set("display_errors", 0);
|
- |
|
6 |
ini_set("log_errors", 1);
|
- |
|
7 |
define("ETC_ROOT", $_SERVER['DOCUMENT_ROOT'] . "/../MyFiles/");
|
- |
|
8 |
ini_set("date.timezone", "America/New_York");
|
- |
|
9 |
header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
|
- |
|
10 |
header("X-Content-Type-Options: nosniff");
|
- |
|
11 |
header("X-XSS-Protection: 1; mode=block");
|
- |
|
12 |
header("Access-Control-Allow-Origin: *");
|
- |
|
13 |
header("Referrer-Policy: no-referrer");
|
- |
|
14 |
header("X-Frame-Options: SAMEORIGIN");
|
- |
|
15 |
} else if (in_array($_SERVER["SERVER_NAME"], array("www.uwejacobs.tech", "uwejacobs.tech"))) {
|
- |
|
16 |
define("ETC_ROOT", $_SERVER['DOCUMENT_ROOT'] . "/../etc/uwejacobs.tech/");
|
3 |
define("ETC_ROOT", $_SERVER['DOCUMENT_ROOT'] . "/../etc/findcheapmusic.com/");
|
17 |
ini_set("date.timezone", "America/New_York");
|
4 |
ini_set("date.timezone", "America/New_York");
|
18 |
header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
|
5 |
header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
|
19 |
header("X-Content-Type-Options: nosniff");
|
6 |
header("X-Content-Type-Options: nosniff");
|
20 |
header("X-XSS-Protection: 1; mode=block");
|
7 |
header("X-XSS-Protection: 1; mode=block");
|
21 |
header("Access-Control-Allow-Origin: *");
|
8 |
header("Access-Control-Allow-Origin: *");
|