mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 13:23:33 +03:00
19 lines
397 B
PHP
19 lines
397 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Mezzio\Router\FastRouteRouter;
|
|
use Shlinkio\Shlink\Core\Config\EnvVars;
|
|
|
|
return [
|
|
|
|
'router' => [
|
|
'base_path' => EnvVars::BASE_PATH->loadFromEnv(''),
|
|
|
|
'fastroute' => [
|
|
FastRouteRouter::CONFIG_CACHE_ENABLED => true,
|
|
FastRouteRouter::CONFIG_CACHE_FILE => 'data/cache/fastroute_cached_routes.php',
|
|
],
|
|
],
|
|
|
|
];
|