Commit 124f7c51 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't require login for blog pagination (bug #700218)



The script to return blogposts in views must be public so that
logged out users with permission to see the view can scroll
through the pages of posts.

Change-Id: I46a5bee3c59267c9bd357987253f35236a2a234e
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 14676264
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*/ */
define('INTERNAL', 1); define('INTERNAL', 1);
define('PUBLIC', 1);
define('JSON', 1); define('JSON', 1);
require(dirname(dirname(dirname(__FILE__))) . '/init.php'); require(dirname(dirname(dirname(__FILE__))) . '/init.php');
......
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