====== getCfg ======
{#JAPI Joomla.Framework Application JApplication::getCfg #}
Gets a configuration value. These values come from the configuration.php file which is generally stored in the base directory.
===== Syntax =====
string getCfg ( **$varname** )
| **$varname** | string | is a string containing the name of the configuration value to retrieve. |
===== Examples =====
global $mainframe;
echo $mainframe->getCfg( 'ftp_host' );
might produce
ftp.ftphost.com
which is the ftp host value that is stored in the configuration.php file.
----
~~DISCUSSION~~