]> git.mxchange.org Git - friendica.git/blob - htconfig.php
doco for fallback config file
[friendica.git] / htconfig.php
1 <?php
2
3 // If automatic system installation fails: 
4
5 // Copy or rename this file to .htconfig.php
6
7 // Why .htconfig.php? Because it contains sensitive information which could
8 // give somebody complete control of your database. Apache's default 
9 // configuration denies access to and refuses to serve any file beginning 
10 // with .ht
11
12 // Then set the following for your MySQL installation
13
14 $db_host = 'your.mysqlhost.com';
15 $db_user = 'mysqlusername';
16 $db_pass = 'mysqlpassword';
17 $db_data = 'mysqldatabasename';
18
19 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
20 // It can be changed later and only applies to timestamps for anonymous viewers.
21
22 $default_timezone = 'America/Los_Angeles';
23
24 // What is your site name?
25
26 $a->config['sitename'] = "Mistpark Social Network";
27
28 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
29 // Be certain to create your own personal account before setting 
30 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
31 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
32 // to the email address of an already registered person who can authorise
33 // and/or approve/deny the request. 
34
35 $a->config['register_policy'] = REGISTER_OPEN;
36 $a->config['register_text'] = '';
37 $a->config['admin_email'] = '';
38
39 // Maximum size of an imported message, 0 is unlimited (but our database 'text' element is limited to 65535).
40
41 $a->config['max_import_size'] = 10000;
42
43 // Location of PHP command line processor
44
45 $a->config['php_path'] = 'php';
46
47 // You shouldn't need to change anything else.
48 // Location of global directory submission page. 
49
50 $a->config['system']['directory_submit_url'] = 'http://dir.dfrn.org/submit';
51
52 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
53
54 $a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
55
56 // Please see "http://github.com/macgirvin/mistpark/wiki/Hidden-Features-Settings" 
57 // for additional settings and options
58
59