silverstripe-cms/_config.php

27 lines
872 B
PHP
Raw Normal View History

<?php
/**
* URL rules for the CMS module
*
* @package cms
*/
Director::addRules(50, array(
'processes//$Action/$ID/$Batch' => 'BatchProcess_Controller',
'silverstripe' => '->admin',
'cms' => '->admin',
'admin/security//$Action/$ID/$OtherID' => 'SecurityAdmin',
'admin/help//$Action/$ID' => 'CMSHelp',
'admin/reports//$Action/$ID' => 'ReportAdmin',
'admin/assets//$Action/$ID' => 'AssetAdmin',
'admin/comments//$Action' => 'CommentAdmin',
'admin/ReportField//$Action/$ID/$Type/$OtherID' => 'ReportField_Controller',
'admin/bulkload//$Action/$ID/$OtherID' => 'BulkLoaderAdmin',
'admin//ImageEditor/$Action' => 'ImageEditor',
'admin//$Action/$ID/$OtherID' => 'CMSMain',
'unsubscribe//$Email/$MailingList' => 'Unsubscribe_Controller',
'PageComment//$Action/$ID' => 'PageComment_Controller',
));
// Built-in modules
LeftAndMain::populate_default_menu();
?>