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.
2 parents f6504e7 + 1859f03 commit d9d21f9Copy full SHA for d9d21f9
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