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