2 /* -*- mode: php -*- */
4 if (!defined('LACONICA')) { exit(1); }
6 #If you have downloaded libraries in random little places, you
7 #can add the paths here
9 #$extra_path = array("/opt/php-openid-2.0.1", "/usr/local/share/php");
10 #set_include_path(implode(PATH_SEPARATOR, $extra_path) . PATH_SEPARATOR . get_include_path());
12 # We get called by common.php, $config is a tree with lots of config
14 # These are for configuring your URLs
16 $config['site']['name'] = 'Just another Laconica microblog';
17 $config['site']['server'] = 'localhost';
18 $config['site']['path'] = 'laconica';
19 #$config['site']['fancy'] = false;
20 #$config['site']['theme'] = 'default';
21 #For contact email, defaults to $_SERVER["SERVER_ADMIN"]
22 #$config['site']['email'] = 'admin@example.net';
24 #$config['site']['broughtby'] = 'Individual or Company';
25 #$config['site']['broughtbyurl'] = 'http://example.net/';
26 #If you don't want to let users register (say, for a one-person install)
27 #Crude but effective -- register everybody, then lock down
28 #$config['site']['closed'] = true;
29 #Only allow registration for people invited by another user
30 #$config['site']['inviteonly'] = true;
32 # If you want logging sent to a file instead of syslog
33 #$config['site']['logfile'] = '/tmp/laconica.log';
35 # This is a PEAR DB DSN, see http://pear.php.net/manual/en/package.database.db.intro-dsn.php
36 # Set it to match your actual database
38 $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
39 #$config['db']['ini_your_db_name'] = $config['db']['schema_location'].'/laconica.ini';
40 # *** WARNING *** WARNING *** WARNING *** WARNING ***
41 # Setting debug to a non-zero value will expose your DATABASE PASSWORD to Web users.
42 # !!!!!! DO NOT SET THIS ON PRODUCTION SERVERS !!!!!! DB_DataObject's bug, btw, not
44 # *** WARNING *** WARNING *** WARNING *** WARNING ***
45 #$config['db']['debug'] = 0;
46 #$config['db']['db_driver'] = 'MDB2';
48 #Database type. For mysql, these defaults are fine. For postgresql, set
49 #'quote_identifiers' to true and 'type' to 'pgsql':
50 #$config['db']['quote_identifiers'] = false;
51 #$config['db']['type'] = 'mysql';
53 #session_set_cookie_params(0, '/'. $config['site']['path'] .'/');
55 #Standard fancy-url clashes prevented by not allowing nicknames on a blacklist
56 #Add your own here. Note: empty array by default
57 #$config['nickname']['blacklist'][] = 'scobleizer';
60 $config['sphinx']['enabled'] = false;
61 $config['sphinx']['server'] = 'localhost';
62 $config['sphinx']['PORT'] = 3312;
65 # Users to populate the 'Featured' tab
66 #$config['nickname']['featured'][] = 'scobleizer';
69 #$config['xmpp']['enabled'] = false;
70 #$config['xmpp']['server'] = 'server.example.net';
71 #$config['xmpp']['host'] = NULL; # Only set if different from server
72 #$config['xmpp']['port'] = 5222;
73 #$config['xmpp']['user'] = 'update';
74 #$config['xmpp']['encryption'] = false;
75 #$config['xmpp']['resource'] = 'uniquename';
76 #$config['xmpp']['password'] = 'blahblahblah';
77 #$config['xmpp']['public'][] = 'someindexer@example.net';
78 #$config['xmpp']['debug'] = false;
81 #$config['site']['timezone'] = 'Pacific/Auckland';
82 #$config['site']['language'] = 'en_NZ';
84 #Email info, used for all outbound email
85 #$config['mail']['notifyfrom'] = 'microblog@example.net';
86 #$config['mail']['domain'] = 'microblog.example.net';
87 # See http://pear.php.net/manual/en/package.mail.mail.factory.php for options
88 #$config['mail']['backend'] = 'smtp';
89 #$config['mail']['params'] = array(
90 # 'host' => 'localhost',
93 #For incoming email, if enabled. Defaults to site server name.
94 #$config['mail']['domain'] = 'incoming.example.net';
97 #exponential decay factor for tags, default 10 days
98 #raise this if traffic is slow, lower it if it's fast
99 #$config['tag']['dropoff'] = 86400.0 * 10;
101 #optionally show non-local messages in public timeline
102 #$config['public']['localonly'] = false;
104 #hide certain users from public pages, by ID
105 #$config['public']['blacklist'][] = 123;
106 #$config['public']['blacklist'][] = 2307;
108 #Do notice broadcasts offline
109 #If you use this, you must run the six offline daemons in the
110 #background. See the README for details.
111 #$config['queue']['enabled'] = true;
113 #The following customise the behaviour of the various daemons:
114 #$config['daemon']['piddir'] = '/var/run';
115 #$config['daemon']['user'] = false;
116 #$config['daemon']['group'] = false;
118 #For installations with high traffic, laconica can use MemCached to cache
119 #frequently requested information. Only enable the following if you have
120 #MemCached up and running:
121 #$config['memcached']['enabled'] = false;
122 #$config['memcached']['server'] = 'localhost';
123 #$config['memcached']['port'] = 11211;
125 #Twitter integration source attribute. Note: default is Laconica
126 #$config['integration']['source'] = 'Laconica';