joomla/joomla-cms — pull request #3758 by wilsonge (2014-06-11 12:49:04+00:00)
Title: Add support $config param

Allow the $config param to continue to work from the JFactory::getApplication() function or the legacy JApplication::getInstance() function