通过Composer成功安装cakePHP后,没有DebugKit工具栏可见.
这是非常奇怪的原因,而安装过程如下所示:
- Installing cakephp/debug_kit (3.1.0)
Loading from cache
Run Code Online (Sandbox Code Playgroud)
配置/ bootstrap.php中:
// Only try to load DebugKit in development mode
// Debug Kit should not be installed on a production system
if (Configure::read('debug')) {
Plugin::load('DebugKit', ['bootstrap' => true]);
}
Run Code Online (Sandbox Code Playgroud)
配置/ app.php:
/**
* Debug Level:
*
* Production Mode:
* false: No error messages, errors, or warnings shown.
*
* Development Mode:
* true: Errors and warnings shown.
*/
'debug' => true,
Run Code Online (Sandbox Code Playgroud)
通常(手动安装),插件存储在plugins-folder中,但它是空的.
还有什么我需要配置的吗?
亲切的问候,
菲尔