chg: added debug in App

debug-branch
Sami Mokaddem 2023-03-23 13:46:56 +01:00
parent 8e2718a0ae
commit 0fda818482
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class Application extends BaseApplication implements AuthenticationServiceProvid
* Debug Kit should not be installed on a production system * Debug Kit should not be installed on a production system
*/ */
if (Configure::read('debug')) { if (Configure::read('debug')) {
Configure::write('DebugKit.forceEnable', true);
$this->addPlugin('DebugKit'); $this->addPlugin('DebugKit');
} }
$this->addPlugin('Authentication'); $this->addPlugin('Authentication');