]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - config.php.sample
Comment changed to reflect reality
[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
27 # If you want logging sent to a file instead of syslog
28 #$config['site']['logfile'] = '/tmp/laconica.log';
29
30 # This is a PEAR DB DSN, see http://pear.php.net/manual/en/package.database.db.intro-dsn.php
31 # Set it to match your actual database
32
33 $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
34 #$config['db']['ini_your_db_name'] = $config['db']['schema_location'].'/stoica.ini';
35 #$config['db']['debug'] = 0;
36 #$config['db']['db_driver'] = 'MDB2';
37
38 #session_set_cookie_params(0, '/'. $config['site']['path'] .'/');
39
40 #Standard fancy-url clashes prevented by not allowing nicknames on a blacklist
41 #Add your own here. Note: empty array by default
42 #$config['nickname']['blacklist'][] = 'scobleizer';
43
44 # xmpp
45 #$config['xmpp']['enabled'] = false;
46 #$config['xmpp']['server'] = 'server.example.net';
47 #$config['xmpp']['port'] = 5222;
48 #$config['xmpp']['user'] = 'update';
49 #$config['xmpp']['resource'] = 'uniquename';
50 #$config['xmpp']['password'] = 'blahblahblah';
51 #$config['xmpp']['public'][] = 'someindexer@example.net';
52
53 #Do notice broadcasts offline
54 #If you set this, you must run the xmppdaemon.php
55 #as a daemon (with, say, start-stop-daemon)
56 #$config['queue']['enabled'] = true;