mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
added example
This commit is contained in:
@@ -23,6 +23,20 @@
|
|||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
<example>
|
||||||
|
<title>Appending a local plugins dir</title>
|
||||||
|
<programlisting role="php">
|
||||||
|
<![CDATA[
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$smarty->plugins_dir[] = 'includes/my_smarty_plugins';
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
]]>
|
||||||
|
</programlisting>
|
||||||
|
</example>
|
||||||
|
|
||||||
<example>
|
<example>
|
||||||
<title>multiple $plugins_dir</title>
|
<title>multiple $plugins_dir</title>
|
||||||
<programlisting role="php">
|
<programlisting role="php">
|
||||||
|
Reference in New Issue
Block a user