From c5b5efe333abc150ebb9bef32c5c2bf9d0928d6e Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 1 May 2006 23:59:55 +0000 Subject: [PATCH] customError and customWarning fixed added hint for absolute mailing list directory --- examples/ezmlmwebrc.dist | 2 ++ ezmlm-web.cgi | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/ezmlmwebrc.dist b/examples/ezmlmwebrc.dist index 1a323f9..92339b3 100644 --- a/examples/ezmlmwebrc.dist +++ b/examples/ezmlmwebrc.dist @@ -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 diff --git a/ezmlm-web.cgi b/ezmlm-web.cgi index e575392..a835815 100755 --- a/ezmlm-web.cgi +++ b/ezmlm-web.cgi @@ -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); }