Explorar el Código

i18n user page

Serghey Rodin hace 13 años
padre
commit
55b905f86a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      web/edit/user/index.php

+ 3 - 0
web/edit/user/index.php

@@ -13,6 +13,9 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
 // Panel
 top_panel($user,$TAB);
 
+$lang = 'ru_RU.utf8';
+setlocale(LC_ALL, $lang);
+
 // Are you admin?
 if ($_SESSION['user'] == 'admin') {