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:
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user