How to activate debugging role wise? |
Set your environment to `production`.
See https://codeigniter4.github.io/CodeIgnit...t-constant (10-16-2021, 06:04 PM)kenjis Wrote: Set your environment to `production`. This is not how it is done I guess. I need to show it to only certain role. Like admin for example. (10-16-2021, 04:47 PM)sr13579 Wrote: For a live project how can I hide debugging feature for normal user? app/Config/Boot/production.php PHP Code: <?php
You can also try this out, but make sure you read it on php.net.
PHP Code: $ciEnv = 'development'; READ: PHP.net - putenv What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |