Minor moved default setting of ShortcodeParser::get from sapphire module _config to cms module _config

This commit is contained in:
Paul Meyrick 2011-03-18 17:04:50 +13:00 committed by Ingo Schommer
parent dc6ecbd8e8
commit ed36c62291

View File

@ -49,3 +49,9 @@ SS_Report::register("SideReport", "SideReport_RecentlyEdited");
SS_Report::register("SideReport", "SideReport_ToDo");
if (class_exists('SubsiteReportWrapper')) SS_Report::register('ReportAdmin', 'SubsiteReportWrapper("BrokenLinksReport")',-20);
else SS_Report::register('ReportAdmin', 'BrokenLinksReport',-20);
/**
* Register the default internal shortcodes.
*/
ShortcodeParser::get('default')->register('sitetree_link', array('SiteTree', 'link_shortcode_handler'));