Trimmed Directory separator produces relative (and wrong) paths for bundles
This commit is contained in:
parent
4e9369f5bf
commit
dd5ff5f12b
|
@ -142,7 +142,7 @@ public static function routes($bundle)
|
|||
*/
|
||||
protected static function autoloads($bundle, $config)
|
||||
{
|
||||
$path = trim(Bundle::path($bundle), DS);
|
||||
$path = DS . trim(Bundle::path($bundle), DS);
|
||||
|
||||
foreach ($config['autoloads'] as $type => $mappings)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue