MastodonStartpage/web/admin/include/glob.php
pezcurrel 0bec8ceb39 ...
2020-04-04 19:17:10 +02:00

12 lines
354 B
PHP

<?php
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
define('N',"\n");
$cjrand=rand(0,999999);
$supplangs=['en','es','fr','it'];
$dlang=substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);
$dlang=in_array($dlang,$supplangs) ? strtoupper($dlang) : 'EN';
?>