Opened 15 years ago
Closed 15 years ago
#13109 closed (duplicate)
template tag ssi, doesn't resolve variable name for path
Reported by: | htumblin | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | 1.1 |
Severity: | Keywords: | templatetag ssi | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When attempting to use the {% ssi foo %} template tag, the documentation indicates that its similar to the {% include foo %} tag. The include tag allows one to specify the file to include as a variable or as a string. ssi does not support having a variable here.
Additionally, if in debug mode, ssi displays a message if it doesn't have permission to the file, I added the filename to this message. Helps with debugging.
I've attached my diff file. I did an svn update before I made my changes, so this diff should be pretty current against the trunk.
Thanks
/Henry
svn diff output