]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - config.php.sample
Link rtsp, mms & tel URI schemes, correct pseudo-protocol ones.
[quix0rs-gnu-social.git] / config.php.sample
1 <?php
2 /* -*- mode: php -*- */
3
4 if (!defined('LACONICA')) { exit(1); }
5
6 #If you have downloaded libraries in random little places, you
7 #can add the paths here
8
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());
11
12 # We get called by common.php, $config is a tree with lots of config
13 # options
14 # These are for configuring your URLs
15
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';
23 #Brought by...
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;
31
32 # If you want logging sent to a file instead of syslog
33 #$config['site']['logfile'] = '/tmp/laconica.log';
34
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
37
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
43 # ours.
44 # *** WARNING *** WARNING *** WARNING *** WARNING ***
45 #$config['db']['debug'] = 0;
46 #$config['db']['db_driver'] = 'MDB2';
47
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';
52
53 #session_set_cookie_params(0, '/'. $config['site']['path'] .'/');
54
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';
58
59 # sphinx search
60 $config['sphinx']['enabled'] = false;
61 $config['sphinx']['server'] = 'localhost';
62 $config['sphinx']['port'] = 3312;
63
64 # Users to populate the 'Featured' tab
65 #$config['nickname']['featured'][] = 'scobleizer';
66
67 # xmpp
68 #$config['xmpp']['enabled'] = false;
69 #$config['xmpp']['server'] = 'server.example.net';
70 #$config['xmpp']['host'] = NULL;        # Only set if different from server
71 #$config['xmpp']['port'] = 5222;
72 #$config['xmpp']['user'] = 'update';
73 #$config['xmpp']['encryption'] = false;
74 #$config['xmpp']['resource'] = 'uniquename';
75 #$config['xmpp']['password'] = 'blahblahblah';
76 #$config['xmpp']['public'][] = 'someindexer@example.net';
77 #$config['xmpp']['debug'] = false;
78
79 #Default locale info
80 #$config['site']['timezone'] = 'Pacific/Auckland';
81 #$config['site']['language'] = 'en_NZ';
82
83 #Email info, used for all outbound email
84 #$config['mail']['notifyfrom'] = 'microblog@example.net';
85 #$config['mail']['domain'] = 'microblog.example.net';
86 # See http://pear.php.net/manual/en/package.mail.mail.factory.php for options
87 #$config['mail']['backend'] = 'smtp';
88 #$config['mail']['params'] = array(
89 #                                                       'host' => 'localhost',
90 #                                                       'port' => 25,
91 #                                                       );
92 #For incoming email, if enabled. Defaults to site server name.
93 #$config['mail']['domain'] = 'incoming.example.net';
94
95 #exponential decay factor for tags, default 10 days
96 #raise this if traffic is slow, lower it if it's fast
97 #$config['tag']['dropoff'] = 86400.0 * 10;
98
99 #exponential decay factor for popular (most favorited notices)
100 #default 10 days -- similar to tag dropoff
101 #$config['popular']['dropoff'] = 86400.0 * 10;
102
103 #optionally show non-local messages in public timeline
104 #$config['public']['localonly'] = false;
105
106 #hide certain users from public pages, by ID
107 #$config['public']['blacklist'][] = 123;
108 #$config['public']['blacklist'][] = 2307;
109
110 #Do notice broadcasts offline
111 #If you use this, you must run the six offline daemons in the
112 #background. See the README for details.
113 #$config['queue']['enabled'] = true;
114
115 #The following customise the behaviour of the various daemons:
116 #$config['daemon']['piddir'] = '/var/run';
117 #$config['daemon']['user'] = false;
118 #$config['daemon']['group'] = false;
119
120 #For installations with high traffic, laconica can use MemCached to cache
121 #frequently requested information. Only enable the following if you have
122 #MemCached up and running:
123 #$config['memcached']['enabled'] = false;
124 #$config['memcached']['server'] = 'localhost';
125 #$config['memcached']['port'] = 11211;
126
127 #Twitter integration source attribute. Note: default is Laconica
128 #$config['integration']['source'] = 'Laconica';
129
130 # Edit throttling. Off by default. If turned on, you can only post 20 notices
131 # every 10 minutes. Admins may want to play with the settings to minimize inconvenience for
132 # real users without getting uncontrollable floods from spammers or runaway bots.
133
134 #$config['throttle']['enabled'] = true;
135 #$config['throttle']['count'] = 100;
136 #$config['throttle']['timespan'] = 3600;
137
138 # List of users banned from posting (nicknames and/or IDs)
139 #$config['profile']['banned'][] = 'hacker';
140 #$config['profile']['banned'][] = 12345;
141
142 # config section for the built-in Facebook application
143 #$config['facebook']['apikey'] = 'APIKEY';
144 #$config['facebook']['secret'] = 'SECRET';