fix properties not initialized

This commit is contained in:
sunxyw
2023-02-24 23:09:37 +08:00
parent d513495b3b
commit 8f43012a5c
3 changed files with 12 additions and 37 deletions

View File

@@ -13,13 +13,13 @@ class Kernel
private array $bootstrappers = [];
private string $config_dir;
private string $config_dir = SOURCE_ROOT_DIR . '/config';
private string $environment;
private string $environment = 'development';
private bool $debug_mode = false;
private string $log_level;
private string $log_level = 'info';
private bool $test_mode = false;