diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-23 11:16:36 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-23 11:16:36 (EDT) |
commit | 87f192ab8edd589c14c609d45fad4c73852caadf (patch) | |
tree | b017270ccceed1bbc8de0ce7fbf680c112868fd7 | |
parent | ec6fe3631c44da06d59cf539ad8655d69626d922 (diff) | |
download | ssic-87f192ab8edd589c14c609d45fad4c73852caadf.zip ssic-87f192ab8edd589c14c609d45fad4c73852caadf.tar.gz ssic-87f192ab8edd589c14c609d45fad4c73852caadf.tar.bz2 |
Reset config tags to default values.
-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); |