Skip to content

Commit

Permalink
fixed classing in _config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertLeCreux committed Jan 18, 2019
1 parent 3ea6765 commit 38f6b03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _config.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php
use SilverStripe\View\Parsers\ShortcodeParser;
use WebbuildersGroup\PackagistShortcode\PackagistShortCode;

define('PACKAGISTSHORTCODE_BASE', basename(dirname(__FILE__)));

//Enable the parser
SilverStripe\View\Parsers\ShortcodeParser::get_active()->register('packagist', array('PackagistShortCode', 'parse'));
ShortcodeParser::get_active()->register('packagist', array(PackagistShortCode::class, 'parse'));

0 comments on commit 38f6b03

Please sign in to comment.