if (isGetRequestParameterSet('access')) {
// Secure input and construct FQFN
$access = SQL_ESCAPE(secureString(getRequestParameter('access')));
- $target = sprintf("%slogs/%s", getConfig('PATH'), $access);
+ $target = sprintf("%slogs/%s", getPath(), $access);
// Is the file valid and readable?
if (isFileReadable($target)) {
}
} else {
// Is the directory there?
- if (isDirectory(getConfig('PATH') . getConfig('logs_base'))) {
+ if (isDirectory(getPath() . getConfig('logs_base'))) {
// Logs directory does exist so begin the list
outputHtml('<ol>');