Skip to content

Commit

Permalink
Fix for instances when an asset path will be changed from an http:// …
Browse files Browse the repository at this point in the history
…to a http:/
  • Loading branch information
daylightstudio committed Apr 14, 2016
1 parent 8406a92 commit b44e8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/libraries/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ public function assets_server_to_web_path($file, $truncate_to_asset_folder = FAL
return $assets_path;
}

return str_replace('//', '/', $this->assets_path($assets_path));
return $this->assets_path(str_replace('//', '/', $assets_path));
}

// --------------------------------------------------------------------
Expand Down

0 comments on commit b44e8e2

Please sign in to comment.