Untitled
raw download clone
TEXT
views 26
,
size 619 b
$url = 'https://czernichow24.pl' . $_SERVER['REQUEST_URI'];
    $wcag = 'https://czernichow24.pl/home/';
    $no_wcag = 'https://czernichow24.pl/';

    if (($url == $wcag) || ($_SERVER['HTTP_REFERER'] == $wcag)) {
        $_SESSION["usertemplate_css"] = 'wcag-theme';
        $link = 'https://czernichow24.pl/';

    } elseif (($url == $no_wcag) || ($_SERVER['HTTP_REFERER'] == $no_wcag)) {
        $_SESSION["usertemplate_css"] = '';
        $link = 'https://czernichow24.pl/home/';
    }
    else {
        $_SESSION["usertemplate_css"] = '';
        $link = 'https://czernichow24.pl/home/';
    }
close fullscreen
Login or Register to edit or fork this paste. It's free.