silverstripe-blog/_config.php

12 lines
266 B
PHP

<?php
// Add the extension to the Member class.
Object::add_extension('Member', 'BlogRole');
// Director rule for ability to visit mysite.com/confirm/signup/123
Director::addRules(50, array(
'confirm-subscription/$Action/$ID' => 'ConfirmNewsletterSignup'
));
?>