Thursday, 8 September 2016

yii2 hide debugger hide

if you want to remove from front end then this is the way:
  1. Goto frontend/config/main-local.php
  2. Comment out these two lines:
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = 'yii\debug\Module';
This will remove debug bar from front-end.

yii2 hide debugger hide

No comments:

Post a Comment