From 87f192ab8edd589c14c609d45fad4c73852caadf Mon Sep 17 00:00:00 2001 From: "P. J. McDermott" Date: Mon, 23 Sep 2013 11:16:36 -0400 Subject: [PATCH] Reset config tags to default values. --- src/ssic.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ssic.pl b/src/ssic.pl index 73c608d..f9744a9 100755 --- a/src/ssic.pl +++ b/src/ssic.pl @@ -178,6 +178,12 @@ sub compile $ENV{"DOCUMENT_URI"} = $input; $ENV{"SCRIPT_FILENAME"} = $input_abs; + # Reset config tags to default values. + $ssi->config("errmsg", + "[an error occurred while processing this directive]"); + $ssi->config("sizefmt", "abbrev"); + $ssi->config("timefmt", undef); + $ssi->set("DOCUMENT_NAME" => $input); $ssi->set("DOCUMENT_URI" => $input); -- 2.31.1