aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-25 23:14:02 -0700
committerzotlabs <mike@macgirvin.com>2017-09-25 23:14:02 -0700
commit9d7a88b40dff8ea49e7185d71e7bad4139b1d289 (patch)
tree5eabc9cb3aea017d2cec8d4a7641bf0540f26dae /boot.php
parentbe8061b64b47d96ae67e672bf2835e8cec73d979 (diff)
downloadvolse-hubzilla-9d7a88b40dff8ea49e7185d71e7bad4139b1d289.tar.gz
volse-hubzilla-9d7a88b40dff8ea49e7185d71e7bad4139b1d289.tar.bz2
volse-hubzilla-9d7a88b40dff8ea49e7185d71e7bad4139b1d289.zip
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()
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php3
1 files changed, 3 insertions, 0 deletions
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);