Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Codeigniter 4 Load settings from database
Post: RE: Codeigniter 4 Load settings from database

After several attempts I got the way to overcome this issue. First need to create a Custom Config file in App/Config directory. Let’s say my Custom Config name is MyConfig.php Code: --
2,121 Views
5 Replies
11-05-2020, 10:04 AM
Hemil Sarker
    Thread: Codeigniter 4: Get value from BaseController to custom helper
Post: Codeigniter 4: Get value from BaseController to cu...

Seems get_instance() is no longer working in Codeigniter 4. But I need to get some value from BaseController to my custom_helper. Here is my code snippet: BaseController.php Code: --
853 Views
1 Replies
11-05-2020, 09:58 AM
Hemil Sarker
    Thread: Codeigniter 4 Load settings from database
Post: RE: Codeigniter 4 Load settings from database

InsiteFX Wrote: (11-03-2020, 08:50 PM) -- In CI 4 that would be app/Config/app.php -- Yes, I understand It would be there. Can you give a code snippet, so I can better understand how i can put it the...
2,121 Views
5 Replies
11-04-2020, 12:00 PM
Hemil Sarker
    Thread: Codeigniter 4 Load settings from database
Post: Codeigniter 4 Load settings from database

I would like to load few settings that is previously stored in Database (e.g. site language, site name etc.) and those settings will be used everywhere in the application. Previously in Codeigniter 3 ...
2,121 Views
5 Replies
11-03-2020, 10:20 AM
Hemil Sarker

Theme © iAndrew 2016 - Forum software by © MyBB