Subversion Repositories cheapmusic

Rev

Rev 11 | Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 13
Line 1... Line 1...
1
<?php
1
<?php
-
 
2
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start();
-
 
3
 
-
 
4
if ($_SERVER["SERVER_NAME"] == "www.findcheapmusic.com") {
-
 
5
  header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
-
 
6
  header("X-Content-Type-Options: nosniff");
-
 
7
  header("X-XSS-Protection: 1; mode=block");
-
 
8
  header("Access-Control-Allow-Origin: *");
-
 
9
  header("Referrer-Policy: no-referrer");
-
 
10
  header("X-Frame-Options: SAMEORIGIN");
-
 
11
  header("Set-Cookie: ^(.*)$ $1;HttpOnly;Secure");
-
 
12
  header("Content-Security-Policy:  default-src 'none'; img-src 'self'; script-src 'unsafe-inline'; style-src 'unsafe-inline';frame-ancestors 'self'");
-
 
13
}
-
 
14
 
2
include_once('php/sessions_db.php');
15
include_once('php/sessions_db.php');
3
include_once('php/cryptor.php');
16
include_once('php/cryptor.php');
4
include_once('php/tools.php');
17
include_once('php/tools.php');
5
 
18
 
6
error_reporting(E_ALL);
19
error_reporting(E_ALL);