We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8574da65 authored by Mike Sheldon's avatar Mike Sheldon

Always set language cookie path to work across entire domain

parent 0f59f3dd
......@@ -25,7 +25,7 @@ require_once('smarty/Smarty.class.php');
if($_GET['lang']) {
$languages = array($_GET['lang'] . '.UTF-8');
setcookie('lang', $_GET['lang'] . '.UTF-8', time() + 31536000);
setcookie('lang', $_GET['lang'] . '.UTF-8', time() + 31536000, '/');
} elseif (isset($_COOKIE['lang'])) {
$languages = array($_COOKIE['lang']);
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment