From 3f792c78798975d5d4f3e5538270d60dd65d0dd6 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Mon, 21 Nov 2022 11:21:22 +0100 Subject: [PATCH] Added comment to remember what has to be done when adding a language --- web/site/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/site/index.php b/web/site/index.php index 5aff0a8..9a8eb8c 100644 --- a/web/site/index.php +++ b/web/site/index.php @@ -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);