Comment 3 for bug 1221001

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2475
Committed: http://gitorious.org/mahara/mahara/commit/cc1a2812db289e42d10544c19d392ef091406335
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit cc1a2812db289e42d10544c19d392ef091406335
Author: Aaron Wells <email address hidden>
Date: Thu Sep 5 15:46:17 2013 +1200

Make Embedded PDF work for logged-out users

Bug 1221001. Needed artefact/lib.php (which apparently gets included by init.php if you're logged in),
and it needed to add &view= to the file download URL so that Mahara could tell which view was giving
you access to the PDF file.

Change-Id: If7c0a6a843588075104819f7ea1e53e392cc4959