bring back the dnt policy document, not sure when it was lost

This commit is contained in:
zotlabs
2018-04-05 22:15:15 -07:00
parent 4a45c35c4e
commit b17f741050
2 changed files with 222 additions and 1 deletions

View File

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