From 2bba022d9476ee8f86c1025fb78db468c4a58230 Mon Sep 17 00:00:00 2001 From: steinm Date: Thu, 13 Dec 2012 21:33:15 +0000 Subject: [PATCH] read additional language file from the new views/theme directory --- inc/inc.Authentication.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/inc.Authentication.php b/inc/inc.Authentication.php index 137c27a0d..c47576e2e 100644 --- a/inc/inc.Authentication.php +++ b/inc/inc.Authentication.php @@ -48,6 +48,9 @@ $notifier->setSender($user); $theme = $resArr["theme"]; include $settings->_rootDir . "languages/" . $resArr["language"] . "/lang.inc"; +if(file_exists($settings->_rootDir . "view/".$theme."/languages/" . $resArr["language"] . "/lang.inc")) { + include $settings->_rootDir . "view/".$theme."/languages/" . $resArr["language"] . "/lang.inc"; +} /* Check if password needs to be changed because it expired. If it needs * to be changed redirect to out/out.ForcePasswordChange.php. Do this