projects
/
ssic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ec6fe36
)
Reset config tags to default values.
author
P. J. McDermott
<pjm@nac.net>
Mon, 23 Sep 2013 15:16:36 +0000
(11:16 -0400)
committer
P. J. McDermott
<pjm@nac.net>
Mon, 23 Sep 2013 15:16:36 +0000
(11:16 -0400)
src/ssic.pl
patch
|
blob
|
history
diff --git
a/src/ssic.pl
b/src/ssic.pl
index 73c608d134041f61294bb56c35c13a698d1e60f7..f9744a95d800ca38d2b46fa13692154a5166a0bd 100755
(executable)
--- 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);