diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-26 19:55:18 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-26 19:55:18 +0200 |
commit | cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472 (patch) | |
tree | 38383bb40e58ee85fb6296a69667411ee92b0da5 /boot.php | |
parent | 4a270d10d189471496438489a9b444bd12340aab (diff) | |
parent | 86e888e5ebf4090dbab33a28a68fa67b93566417 (diff) | |
download | volse-hubzilla-cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472.tar.gz volse-hubzilla-cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472.tar.bz2 volse-hubzilla-cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -72,8 +72,6 @@ define ( 'DIRECTORY_MODE_PRIMARY', 0x0001); // There can only be *one* prima define ( 'DIRECTORY_MODE_SECONDARY', 0x0002); // All other mirror directory servers define ( 'DIRECTORY_MODE_STANDALONE', 0x0100); // A detached (off the grid) hub with itself as directory server. -define ( 'ZOT6_COMPLIANT', 0x1000); - // We will look for upstream directories whenever me make contact // with other sites, but if this is a new installation and isn't // a standalone hub, we need to seed the service with a starting @@ -923,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); |