Using older joomla jfactory for live site / site name

Finally have this working 100%. Just a call to
JFactory::getAppllication(); did the trick --- they use to use
getConfig() --- this should work perfect if the template calls for a
brand for the menu.