title: Joomla 3 - How to get value from configuration file?
body: <p>I'm building a custom component and I just want to get a value from the global config in my controller. I can't find any information about how to do this.</p>
  
  <p>Something like...</p>
  
  <pre><code>$config = JFactory::getConfig();
  $this-&gt;_db = $config-&gt;get('db');
  </code></pre>