instant-0chan/setstylesheet.php

10 lines
210 B
PHP
Raw Normal View History

2018-07-09 13:57:20 +02:00
<?php
2022-01-03 13:35:16 +01:00
$GLOBALS['skipdb'] = true;
2018-07-09 13:57:20 +02:00
require 'config.php';
if ($_GET['style']) {
setcookie('kustyle', $_GET['style'], time() + 31556926, '/'/*, KU_DOMAIN*/);
}
header('Location: ' . $_SERVER['HTTP_REFERER']);
?>