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:
zotlabs
2017-09-25 23:14:02 -07:00
parent be8061b64b
commit 9d7a88b40d
4 changed files with 36 additions and 28 deletions

View File

@@ -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);