diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-22 18:54:29 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-22 18:54:29 +0000 |
commit | f367249fff150d455af84a8fbd788bbb3aa33049 (patch) | |
tree | b6074c8c185b68674ad3628b872fcf4e6dbd8311 /etc/inc/pkg-utils.inc | |
parent | d058b0be9a847773107e9508c9ff4f13c03c2dc7 (diff) | |
download | pfsense-f367249fff150d455af84a8fbd788bbb3aa33049.zip pfsense-f367249fff150d455af84a8fbd788bbb3aa33049.tar.gz |
Add function to restore package specific listtags.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index ec114f6..e39b907 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -36,7 +36,13 @@ require_once("xmlrpc.inc"); require_once("xmlparse.inc"); /* add package specific listtags to XML parser */ -$listtags = array("onetoone", "queue", "rule", "servernat", "alias", "additional_files_needed", "tab", "template", "menu", "rowhelperfield", "service", "step", "package", "columnitem", "option", "item", "field", "package"); +function restore_pkg_listtags() { + global $listtags; + $listtags = array("onetoone", "queue", "rule", "servernat", "alias", "additional_files_needed", "tab", "template", "menu", "rowhelperfield", "service", "step", "package", "columnitem", "option", "item", "field", "package"); + return; +} + +restore_pkg_listtags(); require_once("pfsense-utils.inc"); require_once("globals.inc"); |