File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- use Kirby \Cms \App as Kirby ;
3+ use Kirby \Cms \App ;
44
5- // validate the Kirby version; the supported versions are
6- // updated manually when verified to work with the plugin
7- $ kirbyVersion = Kirby::version ();
8-
9- if (
10- $ kirbyVersion !== null &&
11- (version_compare ($ kirbyVersion , '3.6.0-rc.2 ' , '< ' ) === true ||
12- version_compare ($ kirbyVersion , '3.9.0-alpha ' , '>= ' ) === true )
13- ) {
14- throw new Exception (
15- 'The installed version of the Markdown field plugin ' .
16- 'is not compatible with Kirby ' . $ kirbyVersion
17- );
18- }
19-
20- Kirby::plugin ('fabianmichael/markdown-field ' , [
5+ App::plugin ('fabianmichael/markdown-field ' , [
216 'blueprints ' => [
227 'blocks/markdown ' => __DIR__ . '/blueprints/blocks/markdown.yml ' ,
238 ],
You can’t perform that action at this time.
0 commit comments