summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 4869d4dfd..a630646d7 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -833,3 +833,8 @@ function common_negotiate_type($cprefs, $sprefs) {
return $besttype;
}
+
+function common_config($main, $sub) {
+ global $config;
+ return $config[$main][$sub];
+}