]> git.mxchange.org Git - friendica.git/blob - view/templates/htconfig.tpl
02cf67f39d1ee962f8e7a1f624c5af2e3d582d21
[friendica.git] / view / templates / htconfig.tpl
1 <?php
2
3 /* ********************************************************************
4  *  The following configuration has to be within the .htconfig file
5  *  and will not be overruled by decisions made in the admin panel.
6  *
7  *  See below for variables that may be overruled by the admin panel.
8  * ********************************************************************/
9
10 // Set the following for your MySQL installation
11 // Copy or rename this file to .htconfig.php
12
13 $db_host = '{{$dbhost}}';
14 $db_user = '{{$dbuser}}';
15 $db_pass = '{{$dbpass}}';
16 $db_data = '{{$dbdata}}';
17
18 // Set the database connection charset to full Unicode (utf8mb4).
19 // Changing this value will likely corrupt the special characters.
20 // You have been warned.
21 $a->config['system']['db_charset'] = "utf8mb4";
22
23 // email adress for the system admin
24
25 $a->config['admin_email'] = '{{$adminmail}}';
26
27 // Location of PHP command line processor
28
29 $a->config['php_path'] = '{{$phpath}}';
30
31 // If you are using a subdirectory of your domain you will need to put the
32 // relative path (from the root of your domain) here.
33 // For instance if your URL is 'http://example.com/directory/subdirectory',
34 // set path to 'directory/subdirectory'.
35
36 $a->path = '{{$urlpath}}';
37
38 // Allowed protocols in link URLs; HTTP protocols always are accepted
39 $a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher');
40
41 /* *********************************************************************
42  *  The configuration below will be overruled by the admin panel.
43  *  Changes made below will only have an effect if the database does
44  *  not contain any configuration for the friendica system.
45  * *********************************************************************/
46
47 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
48 // It can be changed later and only applies to timestamps for anonymous viewers.
49
50 $default_timezone = '{{$timezone}}';
51
52 // Default system language
53
54 $a->config['system']['language'] = '{{$language}}';
55
56 // What is your site name?
57
58 $a->config['sitename'] = "My Friend Network";
59
60 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
61 // Be certain to create your own personal account before setting
62 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
63 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
64 // to the email address of an already registered person who can authorise
65 // and/or approve/deny the request.
66
67 $a->config['register_policy'] = REGISTER_OPEN;
68 $a->config['register_text'] = '';
69
70 // Maximum size of an imported message, 0 is unlimited
71
72 $a->config['max_import_size'] = 200000;
73
74 // maximum size of uploaded photos
75
76 $a->config['system']['maximagesize'] = 800000;
77
78 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
79
80 $a->config['system']['huburl'] = '[internal]';
81
82 // Server-to-server private message encryption (RINO) is allowed by default.
83 // Encryption will only be provided if this setting is set to a non zero value
84 // set to 0 to disable, 2 to enable, 1 is deprecated
85
86 $a->config['system']['rino_encrypt'] = {{$rino}};
87
88 // default system theme
89
90 $a->config['system']['theme'] = 'vier';
91 $a->config['system']['allowed_themes'] = 'vier,quattro,duepuntozero,smoothly';
92
93 // By default allow pseudonyms
94
95 $a->config['system']['no_regfullname'] = true;
96
97 //Deny public access to the local directory
98 //$a->config['system']['block_local_dir'] = false;
99
100 // Location of the global directory
101 $a->config['system']['directory'] = 'http://dir.friendica.social';
102
103 // Authentication cookie lifetime, in days
104 $a->config['system']['auth_cookie_lifetime'] = 7;