CodeIgniter Forums
debug bar always visible, no matter if dev or prod environment - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: debug bar always visible, no matter if dev or prod environment (/showthread.php?tid=78643)



debug bar always visible, no matter if dev or prod environment - filit - 02-19-2021

Hi, as per subject, the debug bar is always visible, no matter if I set development or production environment.
How can I force it to hide?


RE: debug bar always visible, no matter if dev or prod environment - plaztic - 02-19-2021

If the 'normal' method is not working, you can try commenting out 'toolbar' from the code below in /Config/Filters.php

PHP Code:
public $globals = [
        'before' => [
            // 'honeypot',
        ],
        'after'  => [
         // 'toolbar',
        //  'honeypot',
        ], 



RE: debug bar always visible, no matter if dev or prod environment - filit - 02-20-2021

(02-19-2021, 11:25 AM)plaztic Wrote: If the 'normal' method is not working, you can try commenting out 'toolbar' from the code below in /Config/Filters.php

PHP Code:
public $globals = [
        'before' => [
            // 'honeypot',
        ],
        'after'  => [
         // 'toolbar',
        //  'honeypot',
        ], 

Thank you!