make cors header deactivatable

This commit is contained in:
flyingmana
2011-06-29 22:39:33 +02:00
parent 62977ad4f2
commit 3c47d158f4
4 changed files with 11 additions and 2 deletions

View File

@@ -40,6 +40,8 @@ $config['site']['path'] = 'statusnet';
// $config['site']['inviteonly'] = true;
// Make the site invisible to non-logged-in users
// $config['site']['private'] = true;
// Allow Cross-Origin Resource Sharing
// $config['site']['cors'] = true;
// If your web server supports X-Sendfile (Apache with mod_xsendfile,
// lighttpd, nginx), you can enable X-Sendfile support for better