Config Module
This module gives you access to the Config class from your website documents. The Config class provides a means to retrieve configuration preferences. These preferences can come from the default config file or from your own custom config files.
For more information about the methods accessed by these tags, please see the Config Class section of the CodeIgniter User Guide.
<?php get('core.config.item', 'item', 'index'); ?>
Retrieves an item from your config file. The function returns FALSE (boolean) if the item you are trying to fetch does not exist.
<?php $lang = get('core.config.item', 'language'); ?>
See the Config Class section of the CodeIgniter User Guide for more information about config files and how index is used.
<?php get('core.config.set_item', 'item_name', 'item_value'); ?>
Permits you to dynamically set a config item or change an existing one, where item_name is the $config array index you want to change, and item_value is its value.
<?php get('core.config.site_url', 'uri'); ?>
Retrieves the URL to your site, along with the "index" value you've specified in the config file.
<?php get('core.config.system_url'); ?>
Retrieves the URL to your system folder.