Use rtrim instead of prepending DS to avoid Windows issues

This commit is contained in:
William Cahill-Manley
2012-02-20 14:52:32 -08:00
parent dd5ff5f12b
commit 6bed34fb8b

View File

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