]> git.mxchange.org Git - friendica.git/blob - view/templates/htconfig.tpl
Merge pull request #2190 from annando/1512-getload
[friendica.git] / view / templates / htconfig.tpl
1 <?php
2
3 // Set the following for your MySQL installation
4 // Copy or rename this file to .htconfig.php
5
6 $db_host = '{{$dbhost}}';
7 $db_user = '{{$dbuser}}';
8 $db_pass = '{{$dbpass}}';
9 $db_data = '{{$dbdata}}';
10
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'.
15
16 $a->path = '{{$urlpath}}';
17  
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.
20
21 $default_timezone = '{{$timezone}}';
22
23 // What is your site name?
24
25 $a->config['sitename'] = "My Friend Network";
26
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.
33
34 $a->config['register_policy'] = REGISTER_OPEN;
35 $a->config['register_text'] = '';
36 $a->config['admin_email'] = '{{$adminmail}}';
37
38 // Maximum size of an imported message, 0 is unlimited
39
40 $a->config['max_import_size'] = 200000;
41
42 // maximum size of uploaded photos
43
44 $a->config['system']['maximagesize'] = 800000;
45
46 // Location of PHP command line processor
47
48 $a->config['php_path'] = '{{$phpath}}';
49
50 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
51
52 $a->config['system']['huburl'] = '[internal]';
53
54 // Server-to-server private message encryption (RINO) is allowed by default.
55 // Encryption will only be provided if this setting is true and the
56 // PHP mcrypt extension is installed on both systems
57
58 $a->config['system']['rino_encrypt'] = true;
59
60 // default system theme
61
62 $a->config['system']['theme'] = 'duepuntozero';
63
64 // By default allow pseudonyms
65
66 $a->config['system']['no_regfullname'] = true;
67
68 //Deny public access to the local directory
69 //$a->config['system']['block_local_dir'] = false;
70
71 // Location of the global directory
72 $a->config['system']['directory'] = 'http://dir.friendi.ca';