Welcome Guest, Not a member yet? Register   Sign In
Create /public folder in a theme
#4

I don't know if it is a good solition, but maybe I can create a controller who will load the css, js and img files?

In the Routes file, I redirect all the files beginig by /themes/ to the controller, and the controller load the source?

I try something like that, but each time I have an extension in the URL, I'm redirecting to the default controller, and not to my controller. I don't know why...
Reply


Messages In This Thread
Create /public folder in a theme - by jean5769 - 12-20-2019, 03:31 AM
RE: Create /public folder in a theme - by MGatner - 12-20-2019, 05:59 AM
RE: Create /public folder in a theme - by jean5769 - 12-21-2019, 02:55 AM
RE: Create /public folder in a theme - by MGatner - 12-21-2019, 05:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB