mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 09:54:27 +02:00
Disable setting fields in case we use environment variables
This commit is contained in:
parent
f61fd93db0
commit
76f3b07033
11 changed files with 65 additions and 19 deletions
|
@ -58,6 +58,16 @@ interface IManageConfigValues
|
|||
*/
|
||||
public function get(string $cat, string $key = null, $default_value = null);
|
||||
|
||||
/**
|
||||
* Returns true, if the current config cannot be changed
|
||||
*
|
||||
* @param string $cat The category of the configuration value
|
||||
* @param string $key The configuration key to query
|
||||
*
|
||||
* @return bool true, if set is disabled
|
||||
*/
|
||||
public function isSetDisabled(string $cat, string $key): bool;
|
||||
|
||||
/**
|
||||
* Sets a configuration value for system config
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue