We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8dd9f commit 064e113Copy full SHA for 064e113
lib/private/SystemConfig.php
@@ -15,8 +15,9 @@
15
* fixes cyclic DI: AllConfig needs AppConfig needs Database needs AllConfig
16
*/
17
class SystemConfig {
18
- /** @var array */
19
- protected $sensitiveValues = [
+ protected array $sensitiveValues;
+
20
+ protected const DEFAULT_SENSITIVE_VALUES = [
21
'instanceid' => true,
22
'datadirectory' => true,
23
'dbname' => true,
@@ -114,6 +115,7 @@ class SystemConfig {
114
115
public function __construct(
116
private Config $config,
117
) {
118
+ $this->sensitiveValues = array_merge(self::DEFAULT_SENSITIVE_VALUES, $this->config->getValue('config_extra_sensitive_values', []));
119
}
120
121
/**
0 commit comments