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

#1
Hello !

I use CodeIgniter 4 and I want to create 2 themes (front & back) who will be located to the root folder.

Each theme will have his JavaScript and CSS files. So I don't want to put this files in the default public folder, but I want to have a public folder in each theme.

Is it possible to do that ? Currently, I can't access directly to the public folder inside the theme.

I want a strcuture like that :

- /app
---- /Config
---- /Controllers
---- ...
- /public
---- index.php
---- .htaccess
---- ...
- /themes
---- /back
------- /public
---------- /css
---------- /js
------- / Views
---------- Login.php
---- /front
------- /public
---------- /css
---------- /js
------- /Views
---------- Homepage.php

Thank you !
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.