Closed coudot closed 1 year ago
After installing 0.5, message override is broken.
Seems linked to commit https://github.com/ltb-project/service-desk/commit/a720942aa076d89aaa4ba618f3865b3cd1d3f3ae
This patch fixes the issue:
diff --git a/htdocs/index.php b/htdocs/index.php index ec4603b..4502663 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -17,6 +17,7 @@ require_once("../lib/detectbrowserlanguage.php"); # Available languages $files = glob("../lang/*.php"); $languages = str_replace(".inc.php", "", $files); +$languages = str_replace("../lang/", "", $languages); $lang = detectLanguage($lang, $languages); require_once("../lang/$lang.inc.php"); if (file_exists("../conf/$lang.inc.php")) {
After installing 0.5, message override is broken.
Seems linked to commit https://github.com/ltb-project/service-desk/commit/a720942aa076d89aaa4ba618f3865b3cd1d3f3ae
This patch fixes the issue: