summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-06 03:24:31 +0000
committerColin Smith <colin@pfsense.org>2005-06-06 03:24:31 +0000
commit34d9ec6d8f32d64531cfe8e68599a895a12c818c (patch)
treeca40642c566fc849735ac3fade99ff755fe2b585 /usr
parent451cc9c4efcb7257e96ab9934f6d288f116e1e6a (diff)
downloadpfsense-34d9ec6d8f32d64531cfe8e68599a895a12c818c.zip
pfsense-34d9ec6d8f32d64531cfe8e68599a895a12c818c.tar.gz
Fix package logs.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_pkglogs.php4
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'];
OpenPOWER on IntegriCloud