Use rtrim instead of prepending DS to avoid Windows issues
This commit is contained in:
parent
dd5ff5f12b
commit
6bed34fb8b
|
@ -142,7 +142,7 @@ public static function routes($bundle)
|
|||
*/
|
||||
protected static function autoloads($bundle, $config)
|
||||
{
|
||||
$path = DS . trim(Bundle::path($bundle), DS);
|
||||
$path = rtrim(Bundle::path($bundle), DS);
|
||||
|
||||
foreach ($config['autoloads'] as $type => $mappings)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue