Commit 5919b039 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #349 from Kindari/patch-1

Fix Directory Separator issue in Bundle autoloads
parents 4e9369f5 6bed34fb
...@@ -142,7 +142,7 @@ class Bundle { ...@@ -142,7 +142,7 @@ class Bundle {
*/ */
protected static function autoloads($bundle, $config) protected static function autoloads($bundle, $config)
{ {
$path = trim(Bundle::path($bundle), DS); $path = rtrim(Bundle::path($bundle), DS);
foreach ($config['autoloads'] as $type => $mappings) foreach ($config['autoloads'] as $type => $mappings)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment