define the location of the language files
This commit is contained in:
parent
1b62030366
commit
ab7b6a4d5a
2 changed files with 12 additions and 2 deletions
|
@ -48,7 +48,13 @@ OVERVIEW:
|
||||||
supply to a minimum and also make reasonable guesses about default
|
supply to a minimum and also make reasonable guesses about default
|
||||||
values.
|
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:
|
the following places:
|
||||||
- /etc/ezmlm
|
- /etc/ezmlm
|
||||||
- the home directory of the user that runs ezmlm-web.cgi
|
- the home directory of the user that runs ezmlm-web.cgi
|
||||||
|
|
|
@ -16,6 +16,10 @@ $LIST_DIR = "$HOME_DIR/lists";
|
||||||
# defaults to "$LIST_DIR/webusers"
|
# defaults to "$LIST_DIR/webusers"
|
||||||
$WEBUSERS_FILE = "$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?
|
# Safe list deletion?
|
||||||
# 0 = move list to .list and the .qmails to deleted.qmail/. Recoverable :)
|
# 0 = move list to .list and the .qmails to deleted.qmail/. Recoverable :)
|
||||||
# 1 = allow user to delete list completely. No backup, therefore no recovery.
|
# 1 = allow user to delete list completely. No backup, therefore no recovery.
|
||||||
|
@ -75,5 +79,5 @@ $HTML_LANGUAGE = 'en';
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# include language-specific definitions
|
# include language-specific definitions
|
||||||
require('./lang/' . $HTML_LANGUAGE . '.pm');
|
require($LANGUAGE_DIR . '/' . $HTML_LANGUAGE . '.pm');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue