silverstripe-dms/_config.php

6 lines
329 B
PHP
Raw Normal View History

<?php
Object::add_extension('SiteTree','DMSSiteTreeExtension');
2012-08-21 04:21:23 +02:00
Object::add_extension('HtmlEditorField_Toolbar','DocumentHtmlEditorFieldToolbar');
CMSMenu::remove_menu_item('DMSDocumentAddController');
ShortcodeParser::get('default')->register('dms_document_link', array('DMSDocument_Controller', 'dms_link_shortcode_handler'));