mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
15 lines
392 B
PHP
15 lines
392 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'
|
|
));
|
|
|
|
if(method_exists('LeftAndMain', 'require_javascript')) {
|
|
LeftAndMain::require_javascript('blog/javascript/bbcodehelp.js');
|
|
}
|
|
?>
|