2007-08-16 06:38:29 +00: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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
Object::add_extension('SiteTree', 'SiteTreeSubsites');
|
|
|
|
// Hack - this ensures that the SiteTree defineMethods gets called before any of its subclasses...
|
|
|
|
new SiteTree();
|
2008-06-19 00:46:51 +00:00
|
|
|
Object::add_extension('ContentController', 'ControllerSubsites');
|
2007-08-16 06:38:29 +00:00
|
|
|
Object::add_extension('LeftAndMain', 'LeftAndMainSubsites');
|
2008-06-19 00:46:51 +00:00
|
|
|
Object::add_extension('LeftAndMain', 'ControllerSubsites');
|
2008-11-19 23:25:43 +00:00
|
|
|
|
2007-08-16 06:38:29 +00:00
|
|
|
Object::add_extension('Group', 'GroupSubsites');
|
2010-03-01 21:42:11 +00:00
|
|
|
Object::add_extension('File', 'FileSubsites');
|
2009-10-05 21:01:01 +00:00
|
|
|
Object::add_extension('ErrorPage', 'ErrorPageSubsite');
|
2012-03-25 13:35:01 -03:00
|
|
|
Object::add_extension('SiteConfig', 'SiteConfigSubsites');
|
2008-11-30 21:18:16 +00:00
|
|
|
|
2012-03-25 13:35:01 -03:00
|
|
|
|
|
|
|
SS_Report::add_excluded_reports('SubsiteReportWrapper');
|
2010-03-01 21:42:05 +00:00
|
|
|
?>
|