2007-07-19 12:40:28 +02:00
|
|
|
<?php
|
|
|
|
|
2016-08-19 00:51:35 +02:00
|
|
|
use SilverStripe\Dev\Deprecation;
|
2017-06-29 08:45:17 +02:00
|
|
|
use SilverStripe\View\Shortcodes\EmbedShortcodeProvider;
|
2016-08-19 00:51:35 +02:00
|
|
|
use SilverStripe\View\Parsers\ShortcodeParser;
|
|
|
|
|
2007-09-15 02:08:23 +02:00
|
|
|
/**
|
2012-03-24 04:38:57 +01:00
|
|
|
* Framework configuration file
|
2007-09-15 02:08:23 +02:00
|
|
|
*
|
2012-03-24 04:38:57 +01:00
|
|
|
* Here you can make different settings for the Framework module (the core
|
2007-09-15 02:08:23 +02:00
|
|
|
* module).
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-09-15 04:52:02 +02:00
|
|
|
ShortcodeParser::get('default')
|
2017-06-29 08:45:17 +02:00
|
|
|
->register('embed', [EmbedShortcodeProvider::class, 'handle_shortcode']);
|
2012-03-01 09:13:42 +01:00
|
|
|
|
2013-03-20 11:53:09 +01:00
|
|
|
// If you don't want to see deprecation errors for the new APIs, change this to 3.2.0-dev.
|
|
|
|
Deprecation::notification_version('3.2.0');
|