]> git.mxchange.org Git - friendica.git/blob - view/templates/htconfig.tpl
316f9bc01f93b5c5583b413d85b1b38882b5eee2
[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 UTF8.
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 /* *********************************************************************
39  *  The configuration below will be overruled by the admin panel.
40  *  Changes made below will only have an effect if the database does
41  *  not contain any configuration for the friendica system.
42  * *********************************************************************/
43  
44 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
45 // It can be changed later and only applies to timestamps for anonymous viewers.
46
47 $default_timezone = '{{$timezone}}';
48
49 // Default system language
50
51 $a->config['system']['language'] = '{{$language}}';
52
53 // What is your site name?
54
55 $a->config['sitename'] = "My Friend Network";
56
57 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
58 // Be certain to create your own personal account before setting
59 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
60 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
61 // to the email address of an already registered person who can authorise
62 // and/or approve/deny the request.
63
64 $a->config['register_policy'] = REGISTER_OPEN;
65 $a->config['register_text'] = '';
66
67 // Maximum size of an imported message, 0 is unlimited
68
69 $a->config['max_import_size'] = 200000;
70
71 // maximum size of uploaded photos
72
73 $a->config['system']['maximagesize'] = 800000;
74
75 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
76
77 $a->config['system']['huburl'] = '[internal]';
78
79 // Server-to-server private message encryption (RINO) is allowed by default.
80 // Encryption will only be provided if this setting is true and the
81 // PHP mcrypt extension is installed on both systems
82
83 $a->config['system']['rino_encrypt'] = {{$rino}};
84
85 // default system theme
86
87 $a->config['system']['theme'] = 'vier';
88
89 // By default allow pseudonyms
90
91 $a->config['system']['no_regfullname'] = true;
92
93 //Deny public access to the local directory
94 //$a->config['system']['block_local_dir'] = false;
95
96 // Location of the global directory
97 $a->config['system']['directory'] = 'http://dir.friendi.ca';
98
99 // Allowed protocols in link URLs; HTTP protocols always are accepted
100 $a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher');