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
Reviewed: https:/ /reviews. mahara. org/2475 gitorious. org/mahara/ mahara/ commit/ cc1a2812db289e4 2d10544c19d392e f091406335
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: master
commit cc1a2812db289e4 2d10544c19d392e f091406335
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: If7c0a6a8435880 75104819f7ea1e5 3e392cc4959