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