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