From 9d7a88b40dff8ea49e7185d71e7bad4139b1d289 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 25 Sep 2017 23:14:02 -0700 Subject: 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() --- boot.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index e0ffb050c..056d7c729 100755 --- a/boot.php +++ b/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); -- cgit v1.2.3