dead23angel / smarty-combine

Combine and minify many JS or CSS to one file
MIT License
19 stars 9 forks source link

Added full url support #5

Closed oseme-techguy closed 7 years ago

oseme-techguy commented 7 years ago

Sometimes you may want to pass in the absolute location of the asset files and bypass the internal concatenation of the path to the document root. I decided to add another option that allows a developer to do this.

When it is set to true, the path to the document root is not concatenated with the files path and when set to false the path to the document root is concatenated with the files path.

I also added a function to get the base url for the project where this plugin is been used.