website/api/set_theme/light.php

7 lines
186 B
PHP
Raw Normal View History

2022-07-10 10:20:04 +01:00
<?php
setcookie("theme", "light", 2 ** 31, "/", $_SERVER["HTTP_HOST"]);
http_response_code(302);
header("Cache-Control: no-store");
header("Location: " . $_SERVER["HTTP_REFERER"]);