1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 14:16:46 +02:00

Rawilum - fixes

This commit is contained in:
Awilum
2018-03-09 19:55:33 +03:00
parent eeb24b76ce
commit 411838da87

View File

@@ -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);
};