update include_php docs:wq

:q
This commit is contained in:
mohrt
2004-03-01 20:40:24 +00:00
parent 9bcc04d1eb
commit bdc4e804ee

View File

@@ -2277,6 +2277,18 @@ cell: 760-1234&lt;br&gt;</programlisting>
</tbody> </tbody>
</tgroup> </tgroup>
</informaltable> </informaltable>
<note>
<title>Technical Note</title>
<para>
include_php is pretty much deprecated from Smarty, you can
accomplish the same functionality via a custom template function.
The only reason to use include_php is if you really have a need to
quarantine the php function away from the plugin directory or your
application code. See the <link
linkend="tips.componentized.templates">componentized template
example</link> for details.
</para>
</note>
<para> <para>
include_php tags are used to include a php script in your template. include_php tags are used to include a php script in your template.
If security is enabled, then the php script must be located in the If security is enabled, then the php script must be located in the