mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
some CS
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
<part id="smarty.for.programmers">
|
<part id="smarty.for.programmers">
|
||||||
<title>Smarty For Programmers</title>
|
<title>Smarty For Programmers</title>
|
||||||
|
|
||||||
|
|
||||||
<chapter id="smarty.constants">
|
<chapter id="smarty.constants">
|
||||||
<title>Constants</title>
|
<title>Constants</title>
|
||||||
<para></para>
|
|
||||||
|
|
||||||
<sect1 id="constant.smarty.dir">
|
<sect1 id="constant.smarty.dir">
|
||||||
<title>SMARTY_DIR</title>
|
<title>SMARTY_DIR</title>
|
||||||
@@ -16,11 +14,16 @@
|
|||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>SMARTY_DIR</title>
|
<title>SMARTY_DIR</title>
|
||||||
<programlisting>
|
<programlisting role="php">
|
||||||
|
<![CDATA[
|
||||||
|
<?php
|
||||||
// set path to Smarty directory
|
// set path to Smarty directory
|
||||||
define("SMARTY_DIR","/usr/local/lib/php/Smarty/");
|
define("SMARTY_DIR","/usr/local/lib/php/Smarty/");
|
||||||
|
|
||||||
require_once(SMARTY_DIR."Smarty.class.php");</programlisting>
|
require_once(SMARTY_DIR."Smarty.class.php");</programlisting>
|
||||||
|
?>
|
||||||
|
]]>
|
||||||
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
Reference in New Issue
Block a user