diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-02 00:10:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-02 00:10:24 +0000 |
commit | eba8a2dea56b3fcb144bb74dc0a0776682fc14a1 (patch) | |
tree | d627222bf688ce4cba0d591733683befed0389f6 /etc | |
parent | 2137c27b5a14eb5cfeec7c9f51e12081a1e7290d (diff) | |
download | pfsense-eba8a2dea56b3fcb144bb74dc0a0776682fc14a1.zip pfsense-eba8a2dea56b3fcb144bb74dc0a0776682fc14a1.tar.gz |
Ensure userindex and groupindex is available to non auth.inc callers.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index fff1d3d..ce2a6d8 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -33,6 +33,12 @@ * */ + +if(!$groupindex) + $groupindex = index_groups(); +if(!$userindex) + $userindex = index_users(); + /****f* pfsense-utils/does_url_exist * NAME * does_url_exist @@ -3883,4 +3889,4 @@ function lookup_gateway_interface_by_name($name) { } } -?> +?>
\ No newline at end of file |