Trimmed Directory separator produces relative (and wrong) paths for bundles

This commit is contained in:
William Cahill-Manley 2012-02-20 14:44:13 -08:00
parent 4e9369f5bf
commit dd5ff5f12b
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public static function routes($bundle)
*/ */
protected static function autoloads($bundle, $config) 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) foreach ($config['autoloads'] as $type => $mappings)
{ {