How to enable static html in php / smarty
4 answers
Do you mean to include a file containing static HTML?
{include file="htmlfile.html"}
Strike>
change
Since the file is just HTML, it might be better to use {fetch}
like
{fetch file="path/to/html/file.html"}
For local files, either the complete system must be the file path or path relative to the executed php script.
+4
a source to share