3 // Set the following for your MySQL installation
4 // Copy or rename this file to .htconfig.php
6 $db_host = '{{$dbhost}}';
7 $db_user = '{{$dbuser}}';
8 $db_pass = '{{$dbpass}}';
9 $db_data = '{{$dbdata}}';
11 // If you are using a subdirectory of your domain you will need to put the
12 // relative path (from the root of your domain) here.
13 // For instance if your URL is 'http://example.com/directory/subdirectory',
14 // set path to 'directory/subdirectory'.
16 $a->path = '{{$urlpath}}';
18 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
19 // It can be changed later and only applies to timestamps for anonymous viewers.
21 $default_timezone = '{{$timezone}}';
23 // What is your site name?
25 $a->config['sitename'] = "My Friend Network";
27 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
28 // Be certain to create your own personal account before setting
29 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
30 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
31 // to the email address of an already registered person who can authorise
32 // and/or approve/deny the request.
34 $a->config['register_policy'] = REGISTER_OPEN;
35 $a->config['register_text'] = '';
36 $a->config['admin_email'] = '{{$adminmail}}';
38 // Maximum size of an imported message, 0 is unlimited
40 $a->config['max_import_size'] = 200000;
42 // maximum size of uploaded photos
44 $a->config['system']['maximagesize'] = 800000;
46 // Location of PHP command line processor
48 $a->config['php_path'] = '{{$phpath}}';
50 // Location of global directory submission page.
52 $a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
53 $a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
55 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
57 $a->config['system']['huburl'] = '[internal]';
59 // Server-to-server private message encryption (RINO) is allowed by default.
60 // Encryption will only be provided if this setting is true and the
61 // PHP mcrypt extension is installed on both systems
63 $a->config['system']['rino_encrypt'] = true;
65 // default system theme
67 $a->config['system']['theme'] = 'duepuntozero';
69 // By default allow pseudonyms
71 $a->config['system']['no_regfullname'] = true;