2019-12-26 21:57:36 +01:00
|
|
|
<?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);
|
2020-04-21 12:35:53 +02:00
|
|
|
$supplangs=['ca','en','es','fr','it'];
|
2020-04-04 19:17:10 +02:00
|
|
|
$dlang=substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);
|
|
|
|
$dlang=in_array($dlang,$supplangs) ? strtoupper($dlang) : 'EN';
|
2019-12-26 21:57:36 +01:00
|
|
|
|
|
|
|
?>
|