joomla/joomla-platform — pull request #1196 by mbabker (2012-05-09 19:37:10+00:00)
Title: Autoload JMenu and JRouter child classes

Following the example in `JPathway::getInstance()`, I've modified JMenu and JRouter's getInstance methods to allow for autoloading the child classes. If the class can't be found first, then it will look in the hardcoded `includes/.php` location for the class.