move the Link header initialisation from Router (where it does not really belong) to Webserver, where we do similar module specific initialisations prior to calling Router->Dispatch()
This commit is contained in:
3
boot.php
3
boot.php
@@ -921,6 +921,9 @@ class App {
|
||||
*
|
||||
* There will always be one argument. If provided a naked domain
|
||||
* URL, self::$argv[0] is set to "home".
|
||||
*
|
||||
* If $argv[0] has a period in it, for example foo.json; rewrite
|
||||
* to module = 'foo' and set $_REQUEST['module_format'] = 'json';
|
||||
*/
|
||||
|
||||
self::$argv = explode('/', self::$cmd);
|
||||
|
||||
Reference in New Issue
Block a user