lowercase namespace when loading bundle.

This commit is contained in:
Taylor Otwell
2012-01-27 19:33:23 -06:00
parent a351e91aef
commit 4774c8d91e

View File

@@ -86,7 +86,7 @@ class Autoloader {
// match the name of their bundle. // match the name of their bundle.
if (Bundle::exists($namespace) and ! Bundle::started($namespace)) if (Bundle::exists($namespace) and ! Bundle::started($namespace))
{ {
Bundle::start($namespace); Bundle::start(strtolower($namespace));
static::load($class); static::load($class);
} }