2 /* See file COPYING for permissions and conditions to use the file. */
5 $sitename = 'spamdforum';
7 $server = $_SERVER['HTTP_HOST'];
8 /* $server = 'hostname.com'; */
10 if ($protocol == 'https' ||
isset($_SERVER['HTTPS'])) {
13 session_set_cookie_params(['lifetime' => time() +
2592000, 'path' => '/', 'domain' => '', 'secure' => $secure, 'httponly' => true, 'samesite' => 'Lax']);
15 require_once("{$_SERVER['DOCUMENT_ROOT']}/../dbconnect.php");
16 require_once("{$_SERVER['DOCUMENT_ROOT']}/extra/variables.php");
17 require_once("{$_SERVER['DOCUMENT_ROOT']}/extra/functions.php");
18 require_once("{$_SERVER['DOCUMENT_ROOT']}/extra/config_access.php");