diff options
author | Bill Marquette <billm@pfsense.org> | 2005-05-18 02:48:22 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-05-18 02:48:22 +0000 |
commit | f5da67d0512f21da3059259bf98601e6b8802d74 (patch) | |
tree | 019ef18a4d73445ceb8dd97d98054819d476d830 | |
parent | 2e74901f93b38d5d2218198ab21ebe6e475eb209 (diff) | |
download | pfsense-f5da67d0512f21da3059259bf98601e6b8802d74.zip pfsense-f5da67d0512f21da3059259bf98601e6b8802d74.tar.gz |
Some function documenting while I'm thinking about it
-rw-r--r-- | etc/inc/config.inc | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index c89b344..0e811b6 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1,6 +1,13 @@ <?php -/* $Id$ */ -/* +/****h* pfSense/config + * NAME + * config.inc - Functions to manipulate config.xml + * DESCRIPTION + * This include contains various config.xml specific functions. + * HISTORY + * $Id$ + ****** + config.inc Copyright (C) 2004 Scott Ullrich All rights reserved. @@ -143,6 +150,14 @@ if(!$g['booting']) { $config = parse_config(); } +/****f* config/parse_config + * NAME + * parse_config - Read in config.cache or config.xml if needed and return $config array + * INPUTS + * $parse - boolean to force parse_config() to read config.xml and generate config.cache + * RESULT + * $config - array containing all configuration variables + ******/ function parse_config($parse = false) { global $g; |