Browse Source

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

William Cahill-Manley 12 years ago
parent
commit
dd5ff5f12b
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)
 	{
-		$path = trim(Bundle::path($bundle), DS);
+		$path = DS . trim(Bundle::path($bundle), DS);
 
 		foreach ($config['autoloads'] as $type => $mappings)
 		{