aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-24 21:20:50 -0700
committerzotlabs <mike@macgirvin.com>2017-09-24 21:20:50 -0700
commit906a810735597bd94c2f0d6aa12e8670690df110 (patch)
tree0b10fce4a4b65d8aa7cd367c011629a36441b121
parent808605cd65bbd56dad9b33ec8ae17abe726477c4 (diff)
downloadvolse-hubzilla-906a810735597bd94c2f0d6aa12e8670690df110.tar.gz
volse-hubzilla-906a810735597bd94c2f0d6aa12e8670690df110.tar.bz2
volse-hubzilla-906a810735597bd94c2f0d6aa12e8670690df110.zip
server/hub config storage for zot6
-rw-r--r--include/config.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/config.php b/include/config.php
index 0b0e639ab..0be791715 100644
--- a/include/config.php
+++ b/include/config.php
@@ -126,3 +126,19 @@ function set_iconfig(&$item, $family, $key, $value, $sharing = false) {
function del_iconfig(&$item, $family, $key) {
return Zlib\IConfig::Delete($item, $family, $key);
}
+
+function load_sconfig($server_id) {
+ Zlib\SConfig::Load($server_id);
+}
+
+function get_sconfig($server_id, $family, $key, $default = false) {
+ return Zlib\SConfig::Get($server_id, $family, $key, $default);
+}
+
+function set_sconfig($server_id, $family, $key, $value) {
+ return Zlib\SConfig::Set($server_id, $family, $key, $value);
+}
+
+function del_sconfig($server_id, $family, $key) {
+ return Zlib\SConfig::Delete($server_id, $family, $key);
+}