How can I disable yii-debug-toolbar on a specific view?

后端 未结 8 1432
你的背包
你的背包 2021-02-02 12:58

How can I disable yii-debug-toolbar on a specific view especially on partial rendered views?

Is this possible?

p.s. Yii-debug-toolbar

8条回答
  •  悲&欢浪女
    2021-02-02 13:36

    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = 'yii\debug\Module';
    

    Comment out the above lines of code above. this worked for me. This do in frontend and backend to disable that debug tool or module at the footer of the website.

提交回复
热议问题