Browse Source

Merge pull request #349 from Kindari/patch-1

Fix Directory Separator issue in Bundle autoloads
Taylor Otwell 12 years ago
parent
commit
5919b039e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/bundle.php

+ 1 - 1
laravel/bundle.php

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