|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
DJ Smarty Rookie
Joined: 02 Jan 2005 Posts: 11
|
Posted: Thu Jan 13, 2005 9:20 pm Post subject: bug or feature? |
|
|
if include a static html file :
{include file="/path/page.html"}
and page.html has some text with {braces}
i get:
Fatal error: Smarty error: [in /home/html/site/core/static/page.html line 21]: syntax error: unrecognized tag: 606th (Smarty_Compiler.class.php, line 417) in /home/engine/Smarty.class.php on line 1088
is there a work around for this? i just want to include the file and no parsing of what is in it. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Jan 13, 2005 10:52 pm Post subject: |
|
|
if the included file is not meant to be parsed as a template file, use {fetch} instead. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|