mirror of
https://github.com/openvk/chandler.git
synced 2024-11-14 19:19:11 +03:00
Enable silent error logging
This commit is contained in:
parent
eaba4a25de
commit
f58407575d
3 changed files with 4 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -19,3 +19,6 @@
|
|||
/htdocs/*
|
||||
!/htdocs/.htaccess
|
||||
!/htdocs/index.php
|
||||
|
||||
/logs/*
|
||||
!/logs/.gitkeep
|
||||
|
|
|
@ -23,7 +23,7 @@ class Bootstrap
|
|||
*/
|
||||
private function registerDebugger(): void
|
||||
{
|
||||
Debugger::enable(CHANDLER_ROOT_CONF["debug"] ? Debugger::DEVELOPMENT : Debugger::PRODUCTION);
|
||||
Debugger::enable((CHANDLER_ROOT_CONF["debug"] ? Debugger::DEVELOPMENT : Debugger::PRODUCTION), __DIR__ . "/../logs");
|
||||
Debugger::getBar()->addPanel(new Chandler\Debug\DatabasePanel);
|
||||
}
|
||||
|
||||
|
|
0
logs/.gitkeep
Normal file
0
logs/.gitkeep
Normal file
Loading…
Reference in a new issue