]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - config.php.sample
disallow nicknames on a blacklist
[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
22 # This is a PEAR DB DSN, see http://pear.php.net/manual/en/package.database.db.intro-dsn.php
23 # Set it to match your actual database
24
25 $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
26 #$config['db']['ini_your_db_name'] = $config['db']['schema_location'].'/stoica.ini';
27 #$config['db']['debug'] = 0;
28 #$config['db']['db_driver'] = 'MDB2';
29
30 #$config['tag']['authority'] = $config['site']['server'];
31 #$config['tag']['date'] = '2008';
32 #$config['tag']['prefix'] = $config['site']['path'] . ':';
33
34 #session_set_cookie_params(0, '/'. $config['site']['path'] .'/');
35
36 #Standard fancy-url clashes prevented by not allowing nicknames on a blacklist
37 #Add your own here. Note: empty array by default
38 #$config['nickname']['blacklist'][] = 'scobleizer';