1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-13 00:24:15 +02:00

Site Plugin: refactoring

This commit is contained in:
Awilum
2019-04-19 11:42:14 +03:00
parent 1c12224457
commit 5a6da39b4e

View File

@@ -8,8 +8,12 @@ namespace Flextype;
// Register The Auto Loader
$loader = require_once $autoload;
// Include routes
include_once 'routes.php';
/**
* Add site controller to Flextype container
*/
$flextype['SiteController'] = function($container) {
return new SiteController($container);
};