config: fix excluded report

This commit is contained in:
Werner M. Krauß 2017-05-24 14:51:02 +02:00
parent b71e544820
commit f814534d93
2 changed files with 20 additions and 3 deletions

7
_config.php Normal file
View File

@ -0,0 +1,7 @@
<?php
use SilverStripe\Reports\Report;
use SilverStripe\Subsites\Reports\SubsiteReportWrapper;
Report::add_excluded_reports(SubsiteReportWrapper::class);

View File

@ -4,47 +4,57 @@ Name: subsiteconfig
SilverStripe\Control\Director: SilverStripe\Control\Director:
rules: rules:
SubsiteXHRController: SilverStripe\Subsites\Controller\SubsiteXHRController SubsiteXHRController: SilverStripe\Subsites\Controller\SubsiteXHRController
SilverStripe\AssetAdmin\Controller\AssetAdmin: SilverStripe\AssetAdmin\Controller\AssetAdmin:
treats_subsite_0_as_global: true treats_subsite_0_as_global: true
extensions: extensions:
- SilverStripe\Subsites\Extensions\SubsiteMenuExtension - SilverStripe\Subsites\Extensions\SubsiteMenuExtension
SilverStripe\CMS\Model\SiteTree: SilverStripe\CMS\Model\SiteTree:
extensions: extensions:
- SilverStripe\Subsites\Extensions\SiteTreeSubsites - SilverStripe\Subsites\Extensions\SiteTreeSubsites
SilverStripe\CMS\Controllers\ContentController: SilverStripe\CMS\Controllers\ContentController:
extensions: extensions:
- SilverStripe\Subsites\Extensions\ControllerSubsites - SilverStripe\Subsites\Extensions\ControllerSubsites
SilverStripe\CMS\Controllers\CMSPageAddController: SilverStripe\CMS\Controllers\CMSPageAddController:
extensions: extensions:
- SilverStripe\Subsites\Extensions\CMSPageAddControllerExtension - SilverStripe\Subsites\Extensions\CMSPageAddControllerExtension
SilverStripe\Admin\LeftAndMain: SilverStripe\Admin\LeftAndMain:
extensions: extensions:
- SilverStripe\Subsites\Extensions\LeftAndMainSubsites - SilverStripe\Subsites\Extensions\LeftAndMainSubsites
- SilverStripe\Subsites\Extensions\ControllerSubsites - SilverStripe\Subsites\Extensions\ControllerSubsites
SilverStripe\Security\Group: SilverStripe\Security\Group:
extensions: extensions:
- SilverStripe\Subsites\Extensions\GroupSubsites - SilverStripe\Subsites\Extensions\GroupSubsites
SilverStripe\Assets\File: SilverStripe\Assets\File:
extensions: extensions:
- SilverStripe\Subsites\Extensions\FileSubsites - SilverStripe\Subsites\Extensions\FileSubsites
SilverStripe\CMS\Model\ErrorPage: SilverStripe\CMS\Model\ErrorPage:
extensions: extensions:
- SilverStripe\Subsites\Extensions\ErrorPageSubsite - SilverStripe\Subsites\Extensions\ErrorPageSubsite
SilverStripe\SiteConfig\SiteConfig: SilverStripe\SiteConfig\SiteConfig:
extensions: extensions:
- SilverStripe\Subsites\Extensions\SiteConfigSubsites - SilverStripe\Subsites\Extensions\SiteConfigSubsites
Report:
extensions:
- SilverStripe\Subsites\Reports\SubsiteReportWrapper
SilverStripe\Admin\SecurityAdmin: SilverStripe\Admin\SecurityAdmin:
extensions: extensions:
- SilverStripe\Subsites\Extensions\SubsiteMenuExtension - SilverStripe\Subsites\Extensions\SubsiteMenuExtension
SilverStripe\CMS\Controllers\CMSMain: SilverStripe\CMS\Controllers\CMSMain:
extensions: extensions:
- SilverStripe\Subsites\Extensions\SubsiteMenuExtension - SilverStripe\Subsites\Extensions\SubsiteMenuExtension
SilverStripe\CMS\Controllers\CMSPagesController: SilverStripe\CMS\Controllers\CMSPagesController:
extensions: extensions:
- SilverStripe\Subsites\Extensions\SubsiteMenuExtension - SilverStripe\Subsites\Extensions\SubsiteMenuExtension
SilverStripe\Subsites\Admin\SubsiteAdmin: SilverStripe\Subsites\Admin\SubsiteAdmin:
extensions: extensions:
- SilverStripe\Subsites\Extensions\SubsiteMenuExtension - SilverStripe\Subsites\Extensions\SubsiteMenuExtension