From ed36c6229190632448d5821a695d3c0828b8619e Mon Sep 17 00:00:00 2001 From: Paul Meyrick Date: Fri, 18 Mar 2011 17:04:50 +1300 Subject: [PATCH] Minor moved default setting of ShortcodeParser::get from sapphire module _config to cms module _config --- _config.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_config.php b/_config.php index 499e91de..44f8e53e 100644 --- a/_config.php +++ b/_config.php @@ -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')); \ No newline at end of file