Dynamically changing supported languages |
(10-31-2021, 09:15 AM)chronic Wrote: I tried to play a bit with the code of the page you suggested, but I couldn't find a solution, maybe it's a bit too much for my abilities. I didn't test it, but I think all you have to do is define a new library in your app that extends the core class: PHP Code: <?php Then add a request() service in app/Config/Services.php that will load your library. You can copy the one in System/Config/Services.php and add a "use" statement to use your library: PHP Code: use App\Libraries\IncomingRequest; Like I said, I didn't test this code, but it should be close to what you need to do. |
Welcome Guest, Not a member yet? Register Sign In |