Local settings

This commit is contained in:
Aldarien
2021-03-26 16:33:36 +00:00
parent 91cc2fed12
commit b6665c8f9c
5 changed files with 8 additions and 4 deletions

View File

@ -2,6 +2,9 @@
use Psr\Container\ContainerInterface as Container;
return [
'base_url' => DI\decorate(function($prev, Container $c) {
return $prev . '/api';
}),
'locations' => DI\decorate(function($prev, Container $c) {
$arr = (array) $prev;
$arr['cache'] = $prev->base . '/cache';