gettext test implemented

This commit is contained in:
duergner 2004-09-08 14:40:46 +00:00
parent 61012f6572
commit 6d2385c045
1 changed files with 5 additions and 0 deletions

View File

@ -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."); StatusMessage("ERROR", "Your PHP has no LDAP support!", "Please install the LDAP extension for PHP.");
echo "<br><br>"; echo "<br><br>";
} }
// 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 "<br><br>";
}
?> ?>
<form action="login.php" method="post"> <form action="login.php" method="post">
<table width="650" align="center" border="2" rules="none" bgcolor="white"> <table width="650" align="center" border="2" rules="none" bgcolor="white">