Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: how get route name from current url?
Post: RE: how get route name from current url?

Thank you for help!
1,893 Views
6 Replies
02-04-2025, 11:56 AM
Sigg
    Thread: how get route name from current url?
Post: RE: how get route name from current url?

Apparently in version CI 4.6.0 this was really changed. Please help me, how can I do this in the current version?  Thank you
1,893 Views
6 Replies
02-03-2025, 01:25 AM
Sigg
    Thread: CodeIgniter 4 - How to autoload Database library?
Post: RE: CodeIgniter 4 - How to autoload Database libra...

I'm answering myself, maybe this will be useful to someone. Initiate the Database globally on the BaseController in the "initController" function: PHP Code: -- $this->db = \Config\Database::con...
324 Views
2 Replies
01-29-2025, 01:31 AM
Sigg
    Thread: CodeIgniter 4 - How to autoload Database library?
Post: CodeIgniter 4 - How to autoload Database library?

Hello, Please help me what should I write (and in which file) to automatically load the database library. Now I try to do it like this and it works: Thank you! Controllers/Test.php PHP Code: ...
324 Views
2 Replies
01-28-2025, 05:02 AM
Sigg
    Thread: Routes regular expressions?
Post: Routes regular expressions?

Hello. I wanted to make a routing with a regular expression that allows for number range 100 - 672 (100, 101, 102 ... 671, 672). I tried this example, for Numbers range 100 - 699. How can I change thi...
433 Views
0 Replies
08-29-2024, 09:45 PM
Sigg

Theme © iAndrew 2016 - Forum software by © MyBB