LAYOUT: move to compiled less to make things faster
[e-DoKo.git] / include / stats.php
index 8ab7c6a5e903bbc4217fb126136c2f4008288511..d72b1efcc70ab6bb073b172b5b7cdb259d218b75 100644 (file)
@@ -1,5 +1,5 @@
 <?php
 <?php
-/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arun Persaud <arun@nubati.net>
  *
  *   This file is part of e-DoKo.
  *
  *
  *   This file is part of e-DoKo.
  *
@@ -35,6 +35,9 @@ if(!$myid)
   return;
 
 $PREF = DB_get_PREF($myid);
   return;
 
 $PREF = DB_get_PREF($myid);
+/* set language chosen in preferences*/
+$_SESSION['language'] = $PREF['language'];
+set_language($PREF['language']);
 
 DB_update_user_timestamp($myid);
 
 
 DB_update_user_timestamp($myid);