customError and customWarning fixed

added hint for absolute mailing list directory
This commit is contained in:
lars 2006-05-01 23:59:55 +00:00
parent 413234c5cd
commit c5b5efe333
2 changed files with 5 additions and 3 deletions

View file

@ -10,12 +10,14 @@
# Where do we store lists on this server ... Try "$HOME_DIR/lists". # Where do we store lists on this server ... Try "$HOME_DIR/lists".
# This directory will automatically be created if needed. # This directory will automatically be created if needed.
# BEWARE: the (resulting) path MUST be absolute (starting with a slash)!
$LIST_DIR = "$HOME_DIR/lists"; $LIST_DIR = "$HOME_DIR/lists";
# Where do we store the dotqmail files of this user? # Where do we store the dotqmail files of this user?
# (defaults to the home directory of the executing user) # (defaults to the home directory of the executing user)
# You will have to change this value, if you use a multi domain # You will have to change this value, if you use a multi domain
# vpopmail setup. Otherwise just leave the setting turned off. # vpopmail setup. Otherwise just leave the setting turned off.
# BEWARE: the (resulting) path MUST be absolute (starting with a slash)!
#$DOTQMAIL_DIR = "/home/vpopmail/domain"; #$DOTQMAIL_DIR = "/home/vpopmail/domain";
# Where is the webusers file for access-permissions # Where is the webusers file for access-permissions

View file

@ -423,8 +423,8 @@ sub output_page {
$pagedata->setValue('Data.Success', "$success") if (defined($success)); $pagedata->setValue('Data.Success', "$success") if (defined($success));
$pagedata->setValue('Data.Error', "$error") if (defined($error)); $pagedata->setValue('Data.Error', "$error") if (defined($error));
$pagedata->setValue('Data.Warning', "$warning") if (defined($warning)); $pagedata->setValue('Data.Warning', "$warning") if (defined($warning));
$pagedata->setValue('Data.CustomError', "$customError") if (defined($customError)); $pagedata->setValue('Data.customError', "$customError") if (defined($customError));
$pagedata->setValue('Data.CustomWarning', "$customWarning") if (defined($customWarning)); $pagedata->setValue('Data.customWarning', "$customWarning") if (defined($customWarning));
$pagedata->setValue('Data.Action', "$pagename"); $pagedata->setValue('Data.Action', "$pagename");
@ -1243,7 +1243,7 @@ sub create_list {
-user=>$USER) -user=>$USER)
) { ) {
# fatal error # fatal error
$customWarning = $list->errmsg(); $customError = $list->errmsg();
return (1==0); return (1==0);
} }