X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=config.php.sample;h=4c4c9f08bc11b2947d22dfe66a18c89b42dbc490;hb=4c29cda000b4598cdf33d1ae81a53da06051a505;hp=d62a54fe74a14ade40f6e11023030816683ce835;hpb=27b45eeb4882e6c8d5de65d913a148437e91b50c;p=quix0rs-gnu-social.git diff --git a/config.php.sample b/config.php.sample index d62a54fe74..4c4c9f08bc 100644 --- a/config.php.sample +++ b/config.php.sample @@ -18,6 +18,7 @@ $config['site']['server'] = 'localhost'; $config['site']['path'] = 'laconica'; #$config['site']['fancy'] = false; #$config['site']['theme'] = 'default'; +#$config['site']['skin'] = 'default'; #To enable the built-in mobile style sheet, defaults to false. #$config['site']['mobile'] = true; #For contact email, defaults to $_SERVER["SERVER_ADMIN"] @@ -30,6 +31,8 @@ $config['site']['path'] = 'laconica'; #$config['site']['closed'] = true; #Only allow registration for people invited by another user #$config['site']['inviteonly'] = true; +#Make the site invisible to non-logged-in users +#$config['site']['private'] = true; # If you want logging sent to a file instead of syslog #$config['site']['logfile'] = '/tmp/laconica.log'; @@ -128,6 +131,14 @@ $config['sphinx']['port'] = 3312; #background. See the README for details. #$config['queue']['enabled'] = true; +#Queue subsystem +#subsystems: internal (default) or stomp +#using stomp requires an external message queue server +#$config['queue']['subsystem'] = 'stomp'; +#$config['queue']['stomp_server'] = 'tcp://localhost:61613'; +#use different queue_basename for each laconica instance managed by the server +#$config['queue']['queue_basename'] = 'laconica'; + #The following customise the behaviour of the various daemons: #$config['daemon']['piddir'] = '/var/run'; #$config['daemon']['user'] = false; @@ -163,6 +174,10 @@ $config['sphinx']['port'] = 3312; # require_once('plugins/GoogleAnalyticsPlugin.php'); # $ga = new GoogleAnalyticsPlugin('your secret code'); +# Use Templating (template: /tpl/index.php) +# require_once('plugins/TemplatePlugin.php'); +# $tpl = new TemplatePlugin(); + #Don't allow saying the same thing more than once per hour #$config['site']['dupelimit'] = 3600; #Don't enforce the dupe limit @@ -184,3 +199,11 @@ $config['sphinx']['port'] = 3312; #Use a different hostname for SSL-encrypted pages #$config['site']['sslserver'] = 'secure.example.org'; + +#If you have a lot of status networks on the same server, you can +#store the site data in a database and switch as follows +#Status_network::setupDB('localhost', 'statusnet', 'statuspass', 'statusnet'); +#if (!Status_network::setupSite($_server, $_path)) { +# print "Error\n"; +# exit(1); +#}