diff --git a/classes/kohana/assets.php b/classes/kohana/assets.php index 6ceaeb3..24591c2 100644 --- a/classes/kohana/assets.php +++ b/classes/kohana/assets.php @@ -60,7 +60,7 @@ public static function web_path($type, $file) // Set file $file = substr($file, 0, strrpos($file, $type)).$type; - return Kohana::$config->load('asset-merger.folder').'/'.$type.'/'.$file; + return ltrim(Kohana::$config->load('asset-merger.folder').'/'.$type.'/'.$file, '/'); } // Default short names for types