Revision e4a8ed97
Added by Scott Ullrich over 14 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
2224 | 2224 |
} |
2225 | 2225 |
} |
2226 | 2226 |
|
2227 |
/****f* pfsense-utils/pfSense_handle_custom_code |
|
2228 |
* NAME |
|
2229 |
* pfSense_handle_custom_code |
|
2230 |
* INPUTS |
|
2231 |
* directory name to process |
|
2232 |
* RESULT |
|
2233 |
* globs the directory and includes the files |
|
2234 |
*/ |
|
2227 | 2235 |
function pfSense_handle_custom_code($src_dir) { |
2228 | 2236 |
// Allow extending of the nat edit page and include custom input validation |
2229 | 2237 |
if(is_dir("$src_dir")) { |
Also available in: Unified diff
Add function header