n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/include/cookie.inc.php

12 lines
218 B
PHP
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
<?php
if (isset($_COOKIE['TourmentineThemeCookie']))
{
setcookie ("TourmentineThemeCookie",$theme, $time+3600);
}
else
{
$cookie_info=explode("-", $_COOKIE['TourmentineThemeCookie'];
$theme= $cookie_info[0];
}
?>