]> git.mxchange.org Git - friendica.git/blob - view/templates/htconfig.tpl
a2e9c9d8a3db969635a09a89e7d08074baea0736
[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 // email adress for the system admin
19
20 $a->config['admin_email'] = '{{$adminmail}}';
21
22 // Location of PHP command line processor
23
24 $a->config['php_path'] = '{{$phpath}}';
25
26 // If you are using a subdirectory of your domain you will need to put the
27 // relative path (from the root of your domain) here.
28 // For instance if your URL is 'http://example.com/directory/subdirectory',
29 // set path to 'directory/subdirectory'.
30
31 $a->path = '{{$urlpath}}';
32
33 /***********************************************************************
34  *  The configuration below will be overruled by the admin panel.
35  *  Changes made below will only have an effect if the database does
36  *  not contain any configuration for the friendica system.
37  ***********************************************************************/
38  
39 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
40 // It can be changed later and only applies to timestamps for anonymous viewers.
41
42 $default_timezone = '{{$timezone}}';
43
44 // Default system language
45
46 $a->config['system']['language'] = '{{$language}}';
47
48 // What is your site name?
49
50 $a->config['sitename'] = "My Friend Network";
51
52 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
53 // Be certain to create your own personal account before setting
54 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
55 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
56 // to the email address of an already registered person who can authorise
57 // and/or approve/deny the request.
58
59 $a->config['register_policy'] = REGISTER_OPEN;
60 $a->config['register_text'] = '';
61
62 // Maximum size of an imported message, 0 is unlimited
63
64 $a->config['max_import_size'] = 200000;
65
66 // maximum size of uploaded photos
67
68 $a->config['system']['maximagesize'] = 800000;
69
70 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
71
72 $a->config['system']['huburl'] = '[internal]';
73
74 // Server-to-server private message encryption (RINO) is allowed by default.
75 // Encryption will only be provided if this setting is true and the
76 // PHP mcrypt extension is installed on both systems
77
78 $a->config['system']['rino_encrypt'] = {{$rino}};
79
80 // default system theme
81
82 $a->config['system']['theme'] = 'duepuntozero';
83
84 // By default allow pseudonyms
85
86 $a->config['system']['no_regfullname'] = true;
87
88 //Deny public access to the local directory
89 //$a->config['system']['block_local_dir'] = false;
90
91 // Location of the global directory
92 $a->config['system']['directory'] = 'http://dir.friendi.ca';