X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=config.php.sample;h=87a1977b5f589318d5ad409a6b6f30550ee7ad80;hb=dbc6d607ce08a0dc4fcd2931b31ab66589d15878;hp=20de7ffedfb72acc5df9808add46e1703d4a0273;hpb=ddb656fcd2a3233b26e28987d2f3425944908d30;p=quix0rs-gnu-social.git diff --git a/config.php.sample b/config.php.sample index 20de7ffedf..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;