Skip to content

Commit

Permalink
Documenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Kelty committed Oct 24, 2013
1 parent 15aba13 commit 356f67b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -14,4 +14,4 @@ h2. Usage

To see all of the possible values, just pass in "all"

<pre>{exp:config:vars value="all"}</pre>
<pre>{exp:config:vars value="all"}</pre>
4 changes: 4 additions & 0 deletions third_party/config/pi.config.php
Expand Up @@ -91,6 +91,10 @@ function usage()

{exp:config:vars value="base_path"}

To retreive variables in nested arrays, use the ":" delimeter.

{exp:config:vars value="upload_preferences:1:url"}

If you want to see all avaiable parameters, pass in all to have the array printed:

{exp:config:vars value="all"}
Expand Down

0 comments on commit 356f67b

Please sign in to comment.