summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorphilsturgeon <devnull@localhost>2011-06-15 17:03:29 +0200
committerphilsturgeon <devnull@localhost>2011-06-15 17:03:29 +0200
commitb2e728f9ec393b181d287717a5e2adbc781aad82 (patch)
treec939618480a8296d15e4d6c9dd6f9a9ddca4acd7 /user_guide/libraries
parent96bf25d7c6bb73e957a522db11cd8b42a5aa6cd3 (diff)
parent76696d76e137e98f0597547b71b40a991d8b025b (diff)
Merged base_url changes.
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/config.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/user_guide/libraries/config.html b/user_guide/libraries/config.html
index c0192ca0a..ae159b675 100644
--- a/user_guide/libraries/config.html
+++ b/user_guide/libraries/config.html
@@ -194,6 +194,11 @@ $site_name = $blog_config['site_name'];</code>
<h2>$this->config->site_url();</h2>
<p>This function retrieves the URL to your site, along with the "index" value you've specified in the config file.</p>
+<h2>$this->config->base_url();</h2>
+<p>This function retrieves the URL to your site, plus an optional path such as to a stylesheet or image.</p>
+
+<p>The two functions above are normally accessed via the corresponding functions in the <a href="../helpers/url_helper.html">URL Helper.</a></p>
+
<h2>$this->config->system_url();</h2>
<p>This function retrieves the URL to your <dfn>system folder</dfn>.</p>