summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/lib/confparser.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/lib/confparser.inc.php b/web/lib/confparser.inc.php
index db44b36..6368b86 100644
--- a/web/lib/confparser.inc.php
+++ b/web/lib/confparser.inc.php
@@ -24,6 +24,13 @@ function config_get_bool($section, $key) {
return ($val == 'yes' || $val == 'true' || $val == '1');
}
+function config_items($section) {
+ global $AUR_CONFIG;
+ config_load();
+
+ return $AUR_CONFIG[$section];
+}
+
function config_section_exists($key) {
global $AUR_CONFIG;
config_load();