} else {
// List access logfiles
$dir = constant('PATH') . getConfig('logs_base') . "/";
- if (is_dir($dir)) {
+ if (isDirectory($dir)) {
// logs directory does exist
OUTPUT_HTML("<ol>");
$handle = opendir($dir) or mxchange_die("Cannot open directory ".getConfig('logs_base')."!");