diff options
-rwxr-xr-x | src/ssic.pl | 6 |
1 files changed, 6 insertions, 0 deletions
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); |