website/api/set_theme/auto.php
2022-07-10 11:20:04 +02:00

7 lines
175 B
PHP

<?php
setcookie("theme", "", 1, "/", $_SERVER["HTTP_HOST"]);
http_response_code(302);
header("Cache-Control: no-store");
header("Location: " . $_SERVER["HTTP_REFERER"]);