Changeset 359 for trunk/admin/header.php
- Timestamp:
- Feb 25, 2022, 9:32:36 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/header.php
r358 r359 13 13 if(isset($_SESSION['aid'])){ 14 14 include_once("modules/Elezioni/query.sql"); 15 15 global $language; 16 16 $row=setconsultazione(); 17 17 if(isset($row[0])) { … … 27 27 } 28 28 } 29 if (isset($param['language'])) { 29 if(!isset($language) or strlen($language)!=2) 30 $language='it'; 31 if (isset($param['language']) and strlen($param['language']==2)) { 30 32 $_SESSION['lang']=substr($param['language'],0,2); 31 33 $lang=$_SESSION['lang']; 32 34 } 33 35 elseif (strlen($_SESSION['lang'])==2) $lang=$_SESSION['lang']; 34 else $lang=$language;36 else {$lang=$language; $_SESSION['lang']=$lang;} 35 37 include_once("modules/Elezioni/language/lang-$lang.php"); 36 37 38 38 39 ###############
Note:
See TracChangeset
for help on using the changeset viewer.