Revision f5da67d0
Added by Bill Marquette about 20 years ago
etc/inc/config.inc | ||
---|---|---|
1 | 1 |
<?php |
2 |
/* $Id$ */ |
|
3 |
/* |
|
2 |
/****h* pfSense/config |
|
3 |
* NAME |
|
4 |
* config.inc - Functions to manipulate config.xml |
|
5 |
* DESCRIPTION |
|
6 |
* This include contains various config.xml specific functions. |
|
7 |
* HISTORY |
|
8 |
* $Id$ |
|
9 |
****** |
|
10 |
|
|
4 | 11 |
config.inc |
5 | 12 |
Copyright (C) 2004 Scott Ullrich |
6 | 13 |
All rights reserved. |
... | ... | |
143 | 150 |
$config = parse_config(); |
144 | 151 |
} |
145 | 152 |
|
153 |
/****f* config/parse_config |
|
154 |
* NAME |
|
155 |
* parse_config - Read in config.cache or config.xml if needed and return $config array |
|
156 |
* INPUTS |
|
157 |
* $parse - boolean to force parse_config() to read config.xml and generate config.cache |
|
158 |
* RESULT |
|
159 |
* $config - array containing all configuration variables |
|
160 |
******/ |
|
146 | 161 |
function parse_config($parse = false) { |
147 | 162 |
global $g; |
148 | 163 |
|
Also available in: Unified diff
Some function documenting while I'm thinking about it