2007-08-16 08:38:29 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The subsites module modifies the behaviour of the CMS - in the SiteTree and Group databases - to store information
|
|
|
|
* about a number of sub-sites, rather than a single site.
|
|
|
|
*/
|
|
|
|
|
2013-03-27 03:18:52 +01:00
|
|
|
SiteTree::add_extension('SiteTreeSubsites');
|
|
|
|
ContentController::add_extension('ControllerSubsites');
|
2013-05-28 02:17:16 +02:00
|
|
|
CMSPageAddController::add_extension('CMSPageAddControllerExtension');
|
2013-03-27 03:18:52 +01:00
|
|
|
LeftAndMain::add_extension('LeftAndMainSubsites');
|
|
|
|
LeftAndMain::add_extension('ControllerSubsites');
|
2008-11-30 22:18:16 +01:00
|
|
|
|
2013-03-27 03:18:52 +01:00
|
|
|
Group::add_extension('GroupSubsites');
|
|
|
|
File::add_extension('FileSubsites');
|
|
|
|
ErrorPage::add_extension('ErrorPageSubsite');
|
|
|
|
SiteConfig::add_extension('SiteConfigSubsites');
|
2012-03-25 18:35:01 +02:00
|
|
|
|
|
|
|
SS_Report::add_excluded_reports('SubsiteReportWrapper');
|
2013-08-22 03:02:46 +02:00
|
|
|
|
|
|
|
//Display in cms menu
|
|
|
|
AssetAdmin::add_extension('SubsiteMenuExtension');
|
|
|
|
SecurityAdmin::add_extension('SubsiteMenuExtension');
|
|
|
|
CMSMain::add_extension('SubsiteMenuExtension');
|
|
|
|
CMSPagesController::add_extension('SubsiteMenuExtension');
|
|
|
|
SubsiteAdmin::add_extension('SubsiteMenuExtension');
|
|
|
|
CMSSettingsController::add_extension('SubsiteMenuExtension');
|
|
|
|
|