X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=config.php.sample;h=87a1977b5f589318d5ad409a6b6f30550ee7ad80;hb=5eba1030ae39038b7b6b0aad5de1043fae43e48d;hp=75f5c7d557fd7e82d06370b81779111701fffe70;hpb=714d920faea302b55857cc3bec4e9e6160ea136a;p=quix0rs-gnu-social.git diff --git a/config.php.sample b/config.php.sample index 75f5c7d557..87a1977b5f 100644 --- a/config.php.sample +++ b/config.php.sample @@ -41,11 +41,17 @@ $config['site']['path'] = 'statusnet'; // Make the site invisible to non-logged-in users // $config['site']['private'] = true; +// Allow Cross-Origin Resource Sharing (CORS) for service discovery +// (host-meta, XRD, etc.) Useful for AJAXy client applications. Should +// probably NOT be on for private / intranet sites but OK for public sites. +// Default is off. +// $config['discovery']['cors'] = true; + // If your web server supports X-Sendfile (Apache with mod_xsendfile, // lighttpd, nginx), you can enable X-Sendfile support for better // performance. Presently, only attachment serving when the site is // in private mode will use X-Sendfile. -// $config['site']['X-Sendfile'] = false; +// $config['site']['use_x_sendfile'] = false; // You may also need to enable X-Sendfile support for your web server and // allow it to access files outside of the web root. For Apache with // mod_xsendfile, you can add these to your .htaccess or server config: @@ -182,6 +188,29 @@ $config['sphinx']['port'] = 3312; // $config['memcached']['server'] = 'localhost'; // $config['memcached']['port'] = 11211; +// People tags +// Maximum number of tags a user can create: +// $config['peopletag']['maxtags'] = 100; +// Maximum number of people can have the same tag by the same user +// $config['peopletag']['maxpeople'] = 500; +// Types of users one can tag. +// Everyone. +// $config['peopletag']['allow_tagging']['all'] = true; +// Local only. +// $config['peopletag']['allow_tagging']['local'] = true; +// Subscriptions / Subscribers only (including remote) +// $config['peopletag']['allow_tagging']['subs'] = true; +// Remote. +// $config['peopletag']['allow_tagging']['remote'] = true; +// Examples: +// The following set of options allows tagging local users and +// remote subscribers / subscription. +// $config['peopletag']['allow_tagging']['all'] = false; +// $config['peopletag']['allow_tagging']['local'] = true; +// $config['peopletag']['allow_tagging']['subs'] = true; +// Or: +// $config['peopletag']['allow_tagging'] = array('local' => true, 'subs' =>true); + // Disable post-by-email // $config['emailpost']['enabled'] = false; @@ -197,7 +226,7 @@ $config['sphinx']['port'] = 3312; // // $config['twitterimport']['enabled'] = true; -// Twitter OAuth settings +// Twitter OAuth settings. Documentation is at http://apiwiki.twitter.com/OAuth-FAQ // $config['twitter']['consumer_key'] = 'YOURKEY'; // $config['twitter']['consumer_secret'] = 'YOURSECRET';