Version produccion
This commit is contained in:
17
bootstrap/web/setup.php
Normal file
17
bootstrap/web/setup.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
use Psr\Container\ContainerInterface as Container;
|
||||
|
||||
return [
|
||||
Slim\Views\Blade::class => function(Container $c) {
|
||||
return new Slim\Views\Blade(
|
||||
$c->get('folders.templates'),
|
||||
$c->get('folders.cache'),
|
||||
null,
|
||||
[
|
||||
'base_url' => $c->get('urls.base'),
|
||||
'page_language' => 'es',
|
||||
'assets' => $c->get('web.assets')
|
||||
]
|
||||
);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user