summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2012-02-03 15:12:16 +0100
committerChristoph Brill <egore911@egore911.de>2012-03-26 00:17:34 +0200
commitd4bdba2e7bf69e1f2aaa372a9738bb55bfcb6550 (patch)
tree8991e79c06e8645ee1ca84b4003bd2340e17908d /index.php
parentc33c7720923dbb117fdb3634000cfddea50fb50b (diff)
Always refer to the date instead of the file name
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 50fdf0f..fa28232 100644
--- a/index.php
+++ b/index.php
@@ -183,7 +183,7 @@ if (!isset($date)) {
$last_month = $month;
echo ' <div style="border: 1px solid gray; margin: 10px; padding: 20px; float: left;">'.$month.'<hr/>'.PHP_EOL;
}
- echo ' <a href="'.$_SERVER['PHP_SELF'].'?page='.$file.'">'.get_date($file).'</a> <a href="'.LOG_DIR.'/'.$file.'">(raw)</a><br/>'.PHP_EOL;
+ echo ' <a href="'.$_SERVER['PHP_SELF'].'?date='.get_date($file).'">'.get_date($file).'</a> <a href="'.LOG_DIR.'/'.$file.'">(raw)</a><br/>'.PHP_EOL;
$month_counter++;
}
finish_month();