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

View File

@@ -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 = DS . trim(Bundle::path($bundle), DS);
foreach ($config['autoloads'] as $type => $mappings) foreach ($config['autoloads'] as $type => $mappings)
{ {