X-Git-Url: https://git.cweiske.de/awstats-helper.git/blobdiff_plain/a7070cb793fae5597291a7908ce46cd53319b211..c67530a7496638869343ed928be9e6cb1a365603:/functions.php?ds=sidebyside diff --git a/functions.php b/functions.php index 803d684..5ee79a9 100644 --- a/functions.php +++ b/functions.php @@ -54,6 +54,7 @@ function aws_createHtml($site, $last = false, $year = null, $month = null) . ' -month=' . $month . ' -year=' . $year . ' -dir=' . escapeshellarg($dir); + echo $cmd . "\n"; passthru($cmd); if (!$last) { @@ -104,8 +105,10 @@ function aws_createGlobalIndex() $links = ''; foreach ($dirs as $dir) { $name = basename($dir); - $links .= '
  • ' - . $name . '
  • '; + $links .= '
  • ' + . '' . $name . '' + . ' [current]' + . '
  • '; } $html = <<