diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-06 03:24:31 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-06 03:24:31 +0000 |
commit | 34d9ec6d8f32d64531cfe8e68599a895a12c818c (patch) | |
tree | ca40642c566fc849735ac3fade99ff755fe2b585 /usr | |
parent | 451cc9c4efcb7257e96ab9934f6d288f116e1e6a (diff) | |
download | pfsense-34d9ec6d8f32d64531cfe8e68599a895a12c818c.zip pfsense-34d9ec6d8f32d64531cfe8e68599a895a12c818c.tar.gz |
Fix package logs.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_pkglogs.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/diag_pkglogs.php b/usr/local/www/diag_pkglogs.php index 4e8a3af..b26615d 100755 --- a/usr/local/www/diag_pkglogs.php +++ b/usr/local/www/diag_pkglogs.php @@ -39,7 +39,6 @@ */ require("guiconfig.inc"); -require("xmlparse_pkg.inc"); $nentries = $config['syslog']['nentries']; if (!$nentries) @@ -48,14 +47,13 @@ if (!$nentries) if ($_POST['clear']) { exec("/usr/sbin/clog -i -s 262144 {$system_logfile}"); } - $i = 0; $pkgwithlogging = false; $apkg = $_POST['pkg']; if(!isset($_POST['pkg'])) { // If we aren't looking for a specific package, locate the first package that handles logging. if($config['installedpackages']['package'] <> "") { foreach($config['installedpackages']['package'] as $package) { - $pkg_config = parse_xml_config_pkg("/usr/local/pkg/" . $package['configurationfile'], "packagegui"); + $pkg_config = parse_xml_config("/usr/local/pkg/" . $package['configurationfile'], "packagegui"); if(is_array($pkg_config['logging'])) { $pkgwithlogging = true; $apkg = $package['name']; |