From: P. J. McDermott Date: Mon, 23 Sep 2013 15:16:36 +0000 (-0400) Subject: Reset config tags to default values. X-Git-Tag: ssic/1.0.0~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=87f192ab8edd589c14c609d45fad4c73852caadf;hp=ec6fe3631c44da06d59cf539ad8655d69626d922;p=ssic.git Reset config tags to default values. --- 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);