]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - config.php.sample
Log msgs can now go to a file as well as syslog
[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 in addition to 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 #$config['tag']['authority'] = $config['site']['server'];
39 #$config['tag']['date'] = '2008';
40 #$config['tag']['prefix'] = $config['site']['path'] . ':';
41
42 #session_set_cookie_params(0, '/'. $config['site']['path'] .'/');
43
44 #Standard fancy-url clashes prevented by not allowing nicknames on a blacklist
45 #Add your own here. Note: empty array by default
46 #$config['nickname']['blacklist'][] = 'scobleizer';
47
48 # xmpp
49 #$config['xmpp']['enabled'] = false;
50 #$config['xmpp']['server'] = 'server.example.net';
51 #$config['xmpp']['port'] = 5222;
52 #$config['xmpp']['user'] = 'update';
53 #$config['xmpp']['resource'] = 'uniquename';
54 #$config['xmpp']['password'] = 'blahblahblah';
55
56 #Do notice broadcasts offline
57 #If you set this, you must run the queuehandler.php
58 #as a daemon (with, say, start-stop-daemon)
59 #$config['queue']['enabled'] = true;