UI Base App
This commit is contained in:
16
ui/setup/setups/03_views.php
Normal file
16
ui/setup/setups/03_views.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
\Slim\Views\Blade::class => function(ContainerInterface $container) {
|
||||
return new \Slim\Views\Blade(
|
||||
$container->get('folders')->views,
|
||||
$container->get('folders')->cache,
|
||||
null,
|
||||
[
|
||||
'urls' => $container->get('urls'),
|
||||
'api_key' => sha1($container->get('api_key'))
|
||||
]
|
||||
);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user