CakePHP3でのDebugKitのON/OFF切替

NO IMAGE

/config/bootstrap.php にて、
trueにするとDebugKitをON、
falseにするとDebugKitをOFFにすることができる。

if (Configure::read('debug')) {
//Plugin::load('DebugKit', ['bootstrap' => true]);
Plugin::load('DebugKit', ['bootstrap' => false]);
}

IT関係カテゴリの最新記事