diff --git a/lam/templates/login.php b/lam/templates/login.php index c94248e5..e8c26acf 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -132,6 +132,11 @@ function display_LoginPage($config_object,$profile) StatusMessage("ERROR", "Your PHP has no LDAP support!", "Please install the LDAP extension for PHP."); echo "

"; } + // check if PHP has gettext support + if (! function_exists('gettext')) { + StatusMessage("ERROR", "Your PHP has no gettext support!", "Please install gettext and recompile PHP is compiled without gettext support."); + echo "

"; + } ?>