Permalink
Browse files

MDL-32117 equella: die after redirection

To make it clear that nothing else happens.
  • Loading branch information...
danpoltawski committed Jun 4, 2012
1 parent 2e47347 commit e3e691cc6ebf80f848a3d88cd1946c927e7bd9c6
Showing with 1 addition and 0 deletions.
  1. +1 −0 repository/equella/lib.php
@@ -160,6 +160,7 @@ public function send_file($stored_file, $lifetime=86400 , $filter=0, $forcedownl
$reference = base64_decode($stored_file->get_reference());
$url = $this->appendtoken($reference);
header('Location: ' . $url);
die;
}
/**

0 comments on commit e3e691c

Please sign in to comment.