12-20-2019, 03:31 AM
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 !
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 !