Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: DotEnv file is better loaded from the index.php
Post: RE: DotEnv file is better loaded from the index.ph...

kenjis Wrote: (06-06-2024, 01:54 AM) -- I don't know your directory structure. Where do you put .env files? In any case, you can extend or replace Boot.php, and use it in your index.php. So there...
1,535 Views
3 Replies
06-08-2024, 01:57 AM
chenzen
    Thread: DotEnv file is better loaded from the index.php
Post: DotEnv file is better loaded from the index.php

CodeIgniter is by far the most ideal framework that is truly versatile. In some instances, especially for cloud based applications, where many instances will run the same "app" code but with different...
1,535 Views
3 Replies
06-06-2024, 12:22 AM
chenzen
    Thread: redirect() does not redirects
Post: RE: redirect() does not redirects

T.O.M. Wrote: (09-06-2020, 11:09 AM) -- "redirect()" does not make redirect - it is only returns prepared response for redirecting. For redirecting you need to "return" this response from executing m...
6,562 Views
4 Replies
09-06-2020, 11:42 PM
chenzen
    Thread: Problems with CodeIgniter 4.0.4
Post: RE: Problems with CodeIgniter 4.0.4

Omar Crespo Wrote: (09-06-2020, 01:52 PM) -- InsiteFX Wrote: (09-06-2020, 06:19 AM) -- You may need to change the .htaccess file. Code: -- # from this to the below RewriteRule ^(.*)$ index.php/...
10,007 Views
10 Replies
09-06-2020, 11:31 PM
chenzen
    Thread: Filter run order
Post: RE: Filter run order

ogomez Wrote: (09-02-2020, 06:17 PM) -- I have a filter being ran off of a route. Is there a way to make sure other filters run before the filter on the route? PHP Code: --      public $aliases...
2,008 Views
2 Replies
09-03-2020, 02:59 AM
chenzen
    Thread: Problems with CodeIgniter 4.0.4
Post: RE: Problems with CodeIgniter 4.0.4

Omar Crespo Wrote: (09-02-2020, 05:33 PM) -- Thanks, but that's for use the native server of CI4. I want to use WAMP. -- The design of CI has changed. Nevertheless you can setup a virtual host on y...
10,007 Views
10 Replies
09-02-2020, 07:02 PM
chenzen
    Thread: Problems with CodeIgniter 4.0.4
Post: RE: Problems with CodeIgniter 4.0.4

in your command prompt, navigate into the root folder and enter the following command php spark serve If you want to avoid the index.php, create a .htaccess file and put the following code ther...
10,007 Views
10 Replies
09-02-2020, 02:47 PM
chenzen

Theme © iAndrew 2016 - Forum software by © MyBB