Added comment to remember what has to be done when adding a language
This commit is contained in:
parent
f7cc460e01
commit
3f792c7879
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if (strlen($path)>0) {
|
|||
}
|
||||
}
|
||||
|
||||
$supplangs=['ca','en','es','fr','gl','it'];
|
||||
$supplangs=['ca','en','es','fr','gl','it'];// quando si aggiunge una lingua qui sopra, poi bisogna aggiungerla anche in $menu in questo stesso file, in $hlmap in stats.php e in $hitslang in ../clitools/mustool.php
|
||||
if (preg_match('#/('.implode('|',$supplangs).')$#',$path,$lang)===1) {
|
||||
$dlang=$lang[1];
|
||||
$path=substr($path,0,-3);
|
||||
|
|
Loading…
Reference in a new issue