diff --git a/config/config.php b/config/config.php index 4fc3c1e..24f4a75 100644 --- a/config/config.php +++ b/config/config.php @@ -47,7 +47,7 @@ mb_internal_encoding("UTF-8"); $langstr=""; if(isset($_GET['setlang'])){ $langstr=$_GET['setlang']; - setcookie("language", $langstr, 90*86000); + setcookie("language", $langstr, time() + 90*86000); } else if(isset($_COOKIE['language'])){ $langstr=$_COOKIE['language'];