X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=config.php.sample;h=b8ed45fa83ce77fcf4a2ecf9b8b4448797c95701;hb=3cc94cc0bc2a57a08be63ecb274e7d2428ed6298;hp=59e0cc712606c7489c1174a942fcbdfc78c8b773;hpb=e21844c7e4d522faabede91d213b609f44e63100;p=quix0rs-gnu-social.git diff --git a/config.php.sample b/config.php.sample index 59e0cc7126..b8ed45fa83 100644 --- a/config.php.sample +++ b/config.php.sample @@ -30,6 +30,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'; @@ -171,6 +173,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 @@ -192,3 +198,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); +#}