summaryrefslogtreecommitdiff
path: root/lib/exe/detail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-09-29 18:29:20 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-09-29 18:29:20 +0200
commit17553fca1944b80c25826f2f71620bbf64e1a49b (patch)
tree45716d17564d0ea39cda4b0f6961b757e382c068 /lib/exe/detail.php
parent2f981761b3f5b7c8dcc53b8026d9fd3c499a7e1e (diff)
parent80d9f3ddb3a602960d23f1849c1ad6287c4f9d92 (diff)
downloadrpg-17553fca1944b80c25826f2f71620bbf64e1a49b.tar.gz
rpg-17553fca1944b80c25826f2f71620bbf64e1a49b.tar.bz2
Merge pull request #624 from lisps/revisions
date_at support
Diffstat (limited to 'lib/exe/detail.php')
-rw-r--r--lib/exe/detail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php
index cd3f362ad..cc29d5b87 100644
--- a/lib/exe/detail.php
+++ b/lib/exe/detail.php
@@ -5,6 +5,7 @@ require_once(DOKU_INC.'inc/init.php');
$IMG = getID('media');
$ID = cleanID($INPUT->str('id'));
+$REV = $INPUT->int('rev');
// this makes some general info available as well as the info about the
// "parent" page
@@ -35,7 +36,7 @@ $ERROR = false;
$AUTH = auth_quickaclcheck($IMG);
if($AUTH >= AUTH_READ){
// check if image exists
- $SRC = mediaFN($IMG);
+ $SRC = mediaFN($IMG,$REV);
if(!@file_exists($SRC)){
//doesn't exist!
http_status(404);