• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create /public folder in a theme

#2
Everything web accessible needs to be in public/. You could put your folders as you have it and then symlink them, but if public/ is your serve root (which it should be) then only files in there are reachable by the browser.

Aside, you might want to check out this theme module that makes it easy to save and switch themes:

https://github.com/tattersoftware/codeigniter4-themes

The other option if you absolutely need to have your files outside of public/ is to use a media server. I’m not sure if that is a good idea for core theme files though, performance wise.
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 MGatner - 12-21-2019, 05:10 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.