- add new config helper function
authorAndreas Scherbaum <[email protected]>
Mon, 27 Feb 2012 00:00:15 +0000 (01:00 +0100)
committerAndreas Scherbaum <[email protected]>
Mon, 27 Feb 2012 00:00:15 +0000 (01:00 +0100)
docbot.pl

index f13449089bcff9df794426f0708c747a82858f5a..28437ca31ca6c88e71cd9c3957e7c03a5ce4e40d 100755 (executable)
--- a/docbot.pl
+++ b/docbot.pl
@@ -398,6 +398,23 @@ sub config_get_keys1 {
 }
 
 
+# config_get_keys2()
+#
+# read configuration keys
+#
+# parameter:
+#  - config key 1
+#  - config key 2
+# return:
+#  - array with 3nd config keys
+sub config_get_keys2 {
+    my $key1 = shift;
+    my $key2 = shift;
+
+    return $main::config->config_get_keys2($key1, $key2);
+}
+
+
 # validate_config()
 #
 # read configuration & validate important settings