Revision 4d09ffde
Added by k-paulius over 8 years ago
src/usr/local/www/status_pkglogs.php | ||
---|---|---|
83 | 83 |
if (!$apkg) { // If we aren't looking for a specific package, locate the first package that handles logging. |
84 | 84 |
if (isset($config['installedpackages']['package'])) { |
85 | 85 |
foreach ($config['installedpackages']['package'] as $package) { |
86 |
if (isset($package['logging']['logfilename']) && '' != $package['logging']['logfilename']) {
|
|
86 |
if (isset($package['logging']['logfilename']) && $package['logging']['logfilename'] != '') {
|
|
87 | 87 |
$pkgwithlogging = true; |
88 | 88 |
$apkg = $package['name']; |
89 | 89 |
$apkgid = $i; |
Also available in: Unified diff
Code style changes
(cherry picked from commit b2836666a8e7fc021ea750fafc8fc6e8097d52ff)