diff --git a/INSTALL b/INSTALL index 13048c9..7272462 100644 --- a/INSTALL +++ b/INSTALL @@ -48,7 +48,13 @@ OVERVIEW: supply to a minimum and also make reasonable guesses about default values. - Finally, copy the ezmlmwebrc file and the "lang" directory to one of + The directory containing ezmlm-web's language files should be something + like '/usr/local/share/ezmlm-web/lang': + mkdir -p /usr/local/share/ezmlm-web + cp -r lang /usr/local/share/ezmlm-web + You can change this default location in the ezmlmwebrc file. + + Finally, copy the ezmlmwebrc file to one of the following places: - /etc/ezmlm - the home directory of the user that runs ezmlm-web.cgi diff --git a/ezmlmwebrc b/ezmlmwebrc index 38f4d37..6213d99 100644 --- a/ezmlmwebrc +++ b/ezmlmwebrc @@ -16,6 +16,10 @@ $LIST_DIR = "$HOME_DIR/lists"; # defaults to "$LIST_DIR/webusers" $WEBUSERS_FILE = "$LIST_DIR/webusers"; +# Where are the language files +# usually something like /usr/local/share/ezmlm-web/lang +$LANGUAGE_DIR = "/usr/local/share/ezmlm-web/lang"; + # Safe list deletion? # 0 = move list to .list and the .qmails to deleted.qmail/. Recoverable :) # 1 = allow user to delete list completely. No backup, therefore no recovery. @@ -75,5 +79,5 @@ $HTML_LANGUAGE = 'en'; # --------------------------------------------------------------------------- # include language-specific definitions -require('./lang/' . $HTML_LANGUAGE . '.pm'); +require($LANGUAGE_DIR . '/' . $HTML_LANGUAGE . '.pm');