]> git.mxchange.org Git - friendica.git/blob - htconfig.php
per design spec, hide global directory if update url not present
[friendica.git] / htconfig.php
1 <?php
2
3 // Set the following for your MySQL installation
4 // Copy or rename this file to .htconfig.php
5
6 $db_host = 'your.mysqlhost.com';
7 $db_user = 'mysqlusername';
8 $db_pass = 'mysqlpassword';
9 $db_data = 'mysqldatabasename';
10
11 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
12 // It can be changed later and only applies to timestamps for anonymous viewers.
13
14 $default_timezone = 'Australia/Sydney';
15
16 // What is your site name?
17
18 $a->config['sitename'] = "DFRN developer";
19
20 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
21 // Be certain to create your own personal account before setting 
22 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
23 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
24 // to the email address of an already registered person who can authorise
25 // and/or approve/deny the request.
26
27 $a->config['register_policy'] = REGISTER_OPEN;
28 $a->config['register_text'] = '';
29 $a->config['admin_email'] = '';
30
31 // Maximum size of an imported message, 0 is unlimited (but our database 'text' element is limited to 65535).
32
33 $a->config['max_import_size'] = 10000;
34
35 // Location of PHP command line processor
36
37 $a->config['php_path'] = 'php';
38
39 // Location of global directory submission page. 
40
41 $a->config['system']['directory_submit_url'] = 'http://dir.dfrn.org/submit';