CakePHP3 DebugKit(デバッグキット)を非表示にする方法。
◯ 「config/bootstrap.php」ファイルの最終行にあるDebugKit設定を変更する。
1 2 3 4 5 6 7 8 | /* * Only try to load DebugKit in development mode * Debug Kit should not be installed on a production system */ if (Configure::read('debug')) { // true -> falseにすれば非表示になる Plugin::load('DebugKit', ['bootstrap' => true]); } |