Skip to content
Discussion options

You must be logged in to vote

You misunderstand config() or settings().
config() loads only one Config class, and if there is the class in app/Config/, it is loaded.

If you want to add permissions from modules, you need to use Registrars:
https://codeigniter4.github.io/CodeIgniter4/general/configuration.html#registrars

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@krishna-gujjjar
Comment options

Answer selected by krishna-gujjjar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1072 on March 22, 2024 13:10.