diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-27 13:50:43 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-27 13:50:43 +0545 |
commit | f11871ca1dde870d506395f269f6e99807eff36b (patch) | |
tree | 0a4367adaf3da3e5855e775a6367988bd3c92aff /src/usr/local/www/head.inc | |
parent | 312085250d5a4de98b988c236d328025f0f4e519 (diff) | |
download | pfsense-f11871ca1dde870d506395f269f6e99807eff36b.zip pfsense-f11871ca1dde870d506395f269f6e99807eff36b.tar.gz |
Handle individual status_logs help references
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-x | src/usr/local/www/head.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index e2b9c9b..015b3f9 100755 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -125,6 +125,14 @@ if (($pagename == "pkg.php") || ($pagename == "pkg_edit.php") || ($pagename == " $pagename = $xmlfile[1]; } } +} else if ($pagename == "status_logs.php") { + $param_split = explode('&', $uri_split[2]); + foreach ($param_split as $param) { + if (substr($param, 0, 8) == "logfile=") { + $logtype = explode('=', $param); + $pagename .= '-' . $logtype[1]; + } + } } // Build the full help URL. |