customError and customWarning fixed
added hint for absolute mailing list directorymaster
parent
413234c5cd
commit
c5b5efe333
|
@ -10,12 +10,14 @@
|
|||
|
||||
# Where do we store lists on this server ... Try "$HOME_DIR/lists".
|
||||
# This directory will automatically be created if needed.
|
||||
# BEWARE: the (resulting) path MUST be absolute (starting with a slash)!
|
||||
$LIST_DIR = "$HOME_DIR/lists";
|
||||
|
||||
# Where do we store the dotqmail files of this user?
|
||||
# (defaults to the home directory of the executing user)
|
||||
# You will have to change this value, if you use a multi domain
|
||||
# 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";
|
||||
|
||||
# Where is the webusers file for access-permissions
|
||||
|
|
|
@ -423,8 +423,8 @@ sub output_page {
|
|||
$pagedata->setValue('Data.Success', "$success") if (defined($success));
|
||||
$pagedata->setValue('Data.Error', "$error") if (defined($error));
|
||||
$pagedata->setValue('Data.Warning', "$warning") if (defined($warning));
|
||||
$pagedata->setValue('Data.CustomError', "$customError") if (defined($customError));
|
||||
$pagedata->setValue('Data.CustomWarning', "$customWarning") if (defined($customWarning));
|
||||
$pagedata->setValue('Data.customError', "$customError") if (defined($customError));
|
||||
$pagedata->setValue('Data.customWarning', "$customWarning") if (defined($customWarning));
|
||||
|
||||
$pagedata->setValue('Data.Action', "$pagename");
|
||||
|
||||
|
@ -1243,7 +1243,7 @@ sub create_list {
|
|||
-user=>$USER)
|
||||
) {
|
||||
# fatal error
|
||||
$customWarning = $list->errmsg();
|
||||
$customError = $list->errmsg();
|
||||
return (1==0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue