Commit 43a16e7c authored by Penny Leach's avatar Penny Leach
Browse files

Further fix for [#666] - allow public access to

artefact/resume/composite.json.php if we're coming at it
as part of a view. (can_view_view will still check access)
parent db1b441d
......@@ -27,6 +27,10 @@
define('INTERNAL', 1);
define('JSON', 1);
if (isset($_POST['view'])) {
define('PUBLIC', 1);
}
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
safe_require('artefact', 'resume');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment