Allow full urls for relative path in local storage location

Lets say I want to serve my files from the same server but a different domain, with this you can... its kinda hacky, but it works... and its not really relative... but it works...