Merge pull request #349 from Kindari/patch-1

Fix Directory Separator issue in Bundle autoloads
This commit is contained in:
Taylor Otwell
2012-02-20 14:54:13 -08:00

View File

@@ -142,7 +142,7 @@ class Bundle {
*/
protected static function autoloads($bundle, $config)
{
$path = trim(Bundle::path($bundle), DS);
$path = rtrim(Bundle::path($bundle), DS);
foreach ($config['autoloads'] as $type => $mappings)
{