Added comment to remember what has to be done when adding a language

This commit is contained in:
pezcurrel 2022-11-21 11:21:22 +01:00
parent f7cc460e01
commit 3f792c7879

View file

@ -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);