-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrouter.php
34 lines (18 loc) · 778 Bytes
/
router.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* This config file can be used to override "Router::class" default parameters.
*
* @see \MAKS\Velox\Backend\Router
*/
return [
// The base URL of the application.
'base' => Router::DEFAULTS['base'],
// Whether to allow for multiple route matching or not.
'allowMultiMatch' => Router::DEFAULTS['allowMultiMatch'],
// Whether route matching should be case sensitive or not.
'caseMatters' => Router::DEFAULTS['caseMatters'],
// Whether trailing slashes in the route matter or not.
'slashMatters' => Router::DEFAULTS['slashMatters'],
// Whether to start the router automatically without the need for calling `Router::start()` or not.
'allowAutoStart' => Router::DEFAULTS['allowAutoStart'],
];