New MVC GSOC 2014

https://groups.google.com/forum/#!topic/joomla-dev-cms/AH6piuw2IR0

http://gwilson.org/index.php/new-mvc
Should avoid else statements like this, for reasons I mentioned during our discussion in trello. 
Instead set the values to whatever you have in your else before the if.

    $mainPath = JPATH_ADMINISTRATOR . '/components/' . $option;
    $altPath = JPATH_SITE . '/component/' . $option;
    
    if(JFactory::getApplication()->isSite())
    {
        $mainPath = JPATH_SITE . '/component/' . $option;
        $altPath = JPATH_ADMINISTRATOR . '/components/' . $option;
    }