aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorArno Richter <oelna@oelna.de>2022-12-13 23:45:48 +0100
committerArno Richter <oelna@oelna.de>2022-12-13 23:45:48 +0100
commita2efa08d3529758b67db5b8687f8df43de63f1d0 (patch)
treefe1543c9bc8f82a95e84693932556b6cbec99383 /index.php
parent67b51e9f905c568444741eaad0eb5d82df7f09c8 (diff)
downloadmicroblog-a2efa08d3529758b67db5b8687f8df43de63f1d0.tar.gz
microblog-a2efa08d3529758b67db5b8687f8df43de63f1d0.tar.bz2
microblog-a2efa08d3529758b67db5b8687f8df43de63f1d0.zip
display edit times of posts. add a config option to disable.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index f435366..b2a0855 100644
--- a/index.php
+++ b/index.php
@@ -4,6 +4,8 @@
// check user credentials
$config['logged_in'] = check_login();
+ $config['show_edits'] = !empty($config['show_edits']) ? $config['show_edits'] : true;
+
// subpages
$template = 'timeline';
if(is_numeric(path(0))) {