summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/guiconfig.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 1396fc5..27417d5 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -47,8 +47,6 @@ require_once("auth.inc");
require_once("config.inc");
require_once("functions.inc");
-require_once("xmlparse_pkg.inc");
-
$d_natconfdirty_path = $g['varrun_path'] . "/nat.conf.dirty";
$d_filterconfdirty_path = $g['varrun_path'] . "/filter.conf.dirty";
$d_ipsecconfdirty_path = $g['varrun_path'] . "/ipsec.conf.dirty";
@@ -461,7 +459,8 @@ function update_changedesc($update) {
}
function dump_clog($logfile, $tail, $grepfor = "", $grepinvert = false, $withorig = true, $ignorepkgs = true) {
- global $g, $config;
+ require_once("pkg-utils.inc");
+ global $g, $config;
$sor = isset($config['syslog']['reverse']) ? "-r" : "";
exec("/usr/sbin/clog {$logfile} | /usr/bin/tail {$sor} -n {$tail}", $logarr);
if(!is_array($grepfor)) $grepfor = array($grepfor);
OpenPOWER on IntegriCloud