mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
12 lines
266 B
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'
|
|
));
|
|
|
|
?>
|