aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Well_known.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-05 22:15:15 -0700
committerzotlabs <mike@macgirvin.com>2018-04-05 22:15:15 -0700
commitb17f7410501acadbf547c68a4577c371826e69e3 (patch)
treecbaaea9abcada1e6dba4b63747688a90a5b0c89f /Zotlabs/Module/Well_known.php
parent4a45c35c4e0e27b737d80a6f151b0b50aaef3d1e (diff)
downloadvolse-hubzilla-b17f7410501acadbf547c68a4577c371826e69e3.tar.gz
volse-hubzilla-b17f7410501acadbf547c68a4577c371826e69e3.tar.bz2
volse-hubzilla-b17f7410501acadbf547c68a4577c371826e69e3.zip
bring back the dnt policy document, not sure when it was lost
Diffstat (limited to 'Zotlabs/Module/Well_known.php')
-rw-r--r--Zotlabs/Module/Well_known.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Well_known.php b/Zotlabs/Module/Well_known.php
index b57666bff..177de2323 100644
--- a/Zotlabs/Module/Well_known.php
+++ b/Zotlabs/Module/Well_known.php
@@ -26,7 +26,6 @@ class Well_known extends \Zotlabs\Web\Controller {
killme();
}
-
switch(argv(1)) {
case 'zot-info':
\App::$argc -= 1;
@@ -52,6 +51,10 @@ class Well_known extends \Zotlabs\Web\Controller {
$module->init();
break;
+ case 'dnt-policy.txt':
+ echo file_get_contents('doc/dnt-policy.txt');
+ killme();
+
default:
if(file_exists(\App::$cmd)) {
echo file_get_contents(\App::$cmd);