EllisLab/CodeIgniter — pull request #2022 by samson-htw (2012-11-22 17:41:26+00:00)
Title: detect for not instantiable in model loader (and don't instantiate if no...

...t

I'm not sure if this violates model guidelines, but I've had a need to load abstract subclasses of Model, and didn't want to put includes all over the place.

This adds a check to see if the class can be instantiated before doing a 'new'.