wolfcms/wolfcms — pull request #524 by Diftraku (2013-09-20 12:17:43+00:00)
Title: Fix auto-loading namespaced classes

Currently, the autoloader will not properly load namespaced classes if only a folder to look into has been specified.

This kind of kills the idea of having the autoloader in the first place when you have to individually define classes that are in a namespace. Having the autoloader replace the namespace separator with DIRECTORY_SEPARATOR allows the autoloader to look for a proper PSR-0 -like folder structure, instead of just blindly trying `/path/to/the/Namespace\Class.php`.