aboutsummaryrefslogtreecommitdiff
path: root/_site/includes/dom/header.php
blob: 97b8fb76de094cef8b5fa288b9930e414933d6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

$GLOBALS["experimentalUIisStable"] = true;

require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/telemetry.php";

if ((isset($_COOKIE['_UnchainedTech_ExperimentalUI']) && $_COOKIE['_UnchainedTech_ExperimentalUI'] === "true") || $GLOBALS["experimentalUIisStable"]) {
    require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/v2/header.php";
} else {
    require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/v1/header.php";
}