Welcome Guest, Not a member yet? Register   Sign In
changing the Whoops page
#1

(This post was last modified: 04-29-2020, 10:54 AM by George Rangel.)

Hello!

How can I change the Whoops page (App/Views/errors/html/production.php), of couse in CI_ENVIRONMENT = production, like we can do for 404 pages?

In 404 pages I have already done, changing the Routers.php:
PHP Code:
$routes->set404Override('App\Controllers\Errors::index'); 

... but for Whoops page I did not find how to do it in CI4 Manual.

I was thinking to make a page redirect inĀ production.php, but I think is not the right way...
Reply


Messages In This Thread
changing the Whoops page - by George Rangel - 04-29-2020, 09:30 AM
RE: changing the Whoops page - by Gary - 04-29-2020, 12:22 PM
RE: changing the Whoops page - by George Rangel - 04-29-2020, 12:24 PM
RE: changing the Whoops page - by Gary - 04-29-2020, 12:41 PM
RE: changing the Whoops page - by George Rangel - 04-29-2020, 12:47 PM
RE: changing the Whoops page - by Gary - 04-29-2020, 12:52 PM
RE: changing the Whoops page - by George Rangel - 04-29-2020, 01:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB