2017-01-22 11:07:18 +01:00
|
|
|
<?php
|
2019-10-05 17:26:10 +02:00
|
|
|
|
2017-10-12 10:13:20 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-01-01 21:11:53 +01:00
|
|
|
use Mezzio\Router\FastRouteRouter;
|
2017-01-22 11:07:18 +01:00
|
|
|
|
2022-01-04 17:50:41 +01:00
|
|
|
use function Shlinkio\Shlink\Config\env;
|
2021-08-07 11:05:20 +02:00
|
|
|
|
2017-01-22 11:07:18 +01:00
|
|
|
return [
|
|
|
|
|
|
|
|
'router' => [
|
2021-08-07 11:05:20 +02:00
|
|
|
'base_path' => env('BASE_PATH', ''),
|
2019-09-13 20:03:53 +02:00
|
|
|
|
2017-01-22 11:07:18 +01:00
|
|
|
'fastroute' => [
|
|
|
|
FastRouteRouter::CONFIG_CACHE_ENABLED => true,
|
|
|
|
FastRouteRouter::CONFIG_CACHE_FILE => 'data/cache/fastroute_cached_routes.php',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|