2007-07-19 12:40:05 +02:00
|
|
|
<?php
|
2007-09-14 03:01:48 +02:00
|
|
|
/**
|
|
|
|
* URL rules for the CMS module
|
2008-04-05 05:43:58 +02:00
|
|
|
*
|
2008-02-25 03:10:37 +01:00
|
|
|
* @package cms
|
2007-09-14 03:01:48 +02:00
|
|
|
*/
|
2007-10-05 02:51:45 +02:00
|
|
|
Director::addRules(50, array(
|
2008-08-09 05:54:55 +02:00
|
|
|
'processes//$Action/$ID/$Batch' => 'BatchProcess_Controller',
|
2008-02-25 03:10:37 +01:00
|
|
|
'silverstripe' => '->admin',
|
|
|
|
'cms' => '->admin',
|
2008-08-09 05:54:55 +02:00
|
|
|
'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',
|
2008-08-09 07:07:31 +02:00
|
|
|
'unsubscribe//$Email/$MailingList' => 'Unsubscribe_Controller',
|
|
|
|
'PageComment//$Action/$ID' => 'PageComment_Controller',
|
2008-08-12 04:59:27 +02:00
|
|
|
'dev/buildcache' => 'RebuildStaticCacheTask',
|
2007-07-19 12:40:05 +02:00
|
|
|
));
|
|
|
|
|
2008-04-05 05:43:58 +02:00
|
|
|
// Built-in modules
|
2008-04-06 03:57:31 +02:00
|
|
|
LeftAndMain::populate_default_menu();
|
2008-04-05 05:43:58 +02:00
|
|
|
|
2008-08-12 04:59:27 +02:00
|
|
|
?>
|