]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - config.php.sample
remove some debugging code from omb.php
[quix0rs-gnu-social.git] / config.php.sample
index 5327198bf0ade388f11082152d20affbe9f7e060..bfcbf26a9688e1d993245d4bced314cabd98b104 100644 (file)
@@ -35,6 +35,11 @@ $config['site']['path'] = 'laconica';
 
 $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
 #$config['db']['ini_your_db_name'] = $config['db']['schema_location'].'/stoica.ini';
+# *** WARNING *** WARNING *** WARNING *** WARNING ***
+# Setting debug to a non-zero value will expose your DATABASE PASSWORD to Web users.
+# !!!!!! DO NOT SET THIS ON PRODUCTION SERVERS !!!!!! DB_DataObject's bug, btw, not
+# ours.
+# *** WARNING *** WARNING *** WARNING *** WARNING ***
 #$config['db']['debug'] = 0;
 #$config['db']['db_driver'] = 'MDB2';
 
@@ -49,6 +54,7 @@ $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
 #$config['xmpp']['server'] = 'server.example.net';
 #$config['xmpp']['port'] = 5222;
 #$config['xmpp']['user'] = 'update';
+#$config['xmpp']['encryption'] = false;
 #$config['xmpp']['resource'] = 'uniquename';
 #$config['xmpp']['password'] = 'blahblahblah';
 #$config['xmpp']['public'][] = 'someindexer@example.net';
@@ -71,4 +77,11 @@ $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
 #Do notice broadcasts offline
 #If you set this, you must run the xmppdaemon.php
 #as a daemon (with, say, start-stop-daemon)
-#$config['queue']['enabled'] = true;
\ No newline at end of file
+#$config['queue']['enabled'] = true;
+
+#exponential decay factor for tags, default 10 days
+#raise this if traffic is slow, lower it if it's fast
+#$config['tag']['dropoff'] = 86400.0 * 10;
+
+#optionally show non-local messages in public timeline
+#$config['public']['localonly'] = false;