From 411838da87e0144e88a9e0ac24aead7c9bcd9ebd Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 9 Mar 2018 19:55:33 +0300 Subject: [PATCH] Rawilum - fixes --- rawilum/Rawilum.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/rawilum/Rawilum.php b/rawilum/Rawilum.php index 6b91680f..a06d3fd4 100755 --- a/rawilum/Rawilum.php +++ b/rawilum/Rawilum.php @@ -6,7 +6,6 @@ use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\Finder\Finder; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\Event; -use \Klein\Klein; use ParsedownExtra; /** @@ -60,9 +59,6 @@ class Rawilum extends Container return new Config($c); }; - // Start the session - //\Session::start(); - $container['events'] = function ($c) { return new EventDispatcher(); }; @@ -71,16 +67,16 @@ class Rawilum extends Container return new Filter($c); }; + $container['markdown'] = function ($c) { + return new ParsedownExtra(); + }; + $container['plugins'] = function ($c) { return new Plugins($c); }; $container['plugins']->init(); - $container['markdown'] = function ($c) { - return new ParsedownExtra(); - }; - $container['pages'] = function ($c) { return new Pages($c); };