Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI_DEBUG environment override
Post: RE: CI_DEBUG environment override

But this is not a production environment. I am still developing, and want debugging information, just without Kint. For example... An error with CI_ENVIRONMENT set to development shows: https://d...
3,218 Views
6 Replies
10-28-2022, 05:23 PM
doitlikejustin
    Thread: CI_DEBUG environment override
Post: RE: CI_DEBUG environment override

Because I still want to debug errors but I just want Kint disabled. In production, you only get a "Whoops" message on server errors. Where in development, you get more debug information shown on scre...
3,218 Views
6 Replies
10-28-2022, 07:53 AM
doitlikejustin
    Thread: CI_DEBUG environment override
Post: RE: CI_DEBUG environment override

My temporary solution has been to modify app/Config/Boot/development.php: PHP Code: -- defined('CI_DEBUG') || define('CI_DEBUG', getenv('CI_DEBUG') === 'false' ? false : true); -- This seems to ...
3,218 Views
6 Replies
10-25-2022, 07:42 AM
doitlikejustin
    Thread: Flashdata clearing after redirect
Post: RE: Flashdata clearing after redirect

You can append "->withCookies()" to the end of your redirect. PHP Code: --     public function deleteGroup()     {         $model = new \App\Models\GroupModel();         $post = $this->r...
2,215 Views
6 Replies
10-24-2022, 11:20 AM
doitlikejustin
    Thread: CI_DEBUG environment override
Post: CI_DEBUG environment override

Is it possible to override the CI_DEBUG constant in app/Config/Boot/development.php? I would like to override this in .env without editing the development.php file so different environment can turn...
3,218 Views
6 Replies
10-19-2022, 11:24 AM
doitlikejustin

Theme © iAndrew 2016 - Forum software by © MyBB