Browse Source

language must be set before using gettext functions

tokul 20 years ago
parent
commit
16054c2be4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/signout.php

+ 3 - 0
src/signout.php

@@ -76,6 +76,9 @@ if ($signout_page) {
     header("Location: $signout_page");
     exit; /* we send no content if we're redirecting. */
 }
+
+/* internal gettext functions will fail, if language is not set */
+set_up_language($squirrelmail_language, true, true);
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>