mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
WS
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<sect1 id="language.function.config.load">
|
<sect1 id="language.function.config.load">
|
||||||
<title>config_load</title>
|
<title>config_load</title>
|
||||||
<informaltable frame="all">
|
<informaltable frame="all">
|
||||||
<tgroup cols="5">
|
<tgroup cols="5">
|
||||||
@@ -69,10 +69,9 @@
|
|||||||
See <link linkend="config.files">Config Files</link> for more
|
See <link linkend="config.files">Config Files</link> for more
|
||||||
info.
|
info.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>function config_load</title>
|
<title>function config_load</title>
|
||||||
|
<programlisting>
|
||||||
<programlisting>
|
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
{config_load file="colors.conf"}
|
{config_load file="colors.conf"}
|
||||||
|
|
||||||
@@ -89,8 +88,8 @@
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>
|
<para>
|
||||||
Config files may also contain sections. You can load variables from
|
Config files may also contain sections. You can load variables from
|
||||||
within a section with the added attribute
|
within a section with the added attribute
|
||||||
@@ -102,9 +101,9 @@
|
|||||||
to do with each other, they just happen to share a common naming
|
to do with each other, they just happen to share a common naming
|
||||||
convention.
|
convention.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>function config_load with section</title>
|
<title>function config_load with section</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
{config_load file="colors.conf" section="Customer"}
|
{config_load file="colors.conf" section="Customer"}
|
||||||
|
|
||||||
@@ -121,8 +120,8 @@
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
|
Reference in New Issue
Block a user